Compare commits
2 Commits
f74d79389d
...
bfc1eb8796
Author | SHA1 | Date |
---|---|---|
ali-f | bfc1eb8796 | 4 weeks ago |
ali-f | dd893f21f9 | 4 weeks ago |
6 changed files with 53 additions and 7 deletions
@ -0,0 +1,5 @@ |
|||||||
|
# Default ignored files |
||||||
|
/shelf/ |
||||||
|
/workspace.xml |
||||||
|
# Editor-based HTTP Client requests |
||||||
|
/httpRequests/ |
@ -0,0 +1,8 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="ProjectModuleManager"> |
||||||
|
<modules> |
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/roshano_boxModule.iml" filepath="$PROJECT_DIR$/.idea/roshano_boxModule.iml" /> |
||||||
|
</modules> |
||||||
|
</component> |
||||||
|
</project> |
@ -0,0 +1,12 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<module type="WEB_MODULE" version="4"> |
||||||
|
<component name="NewModuleRootManager"> |
||||||
|
<content url="file://$MODULE_DIR$"> |
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" /> |
||||||
|
<excludeFolder url="file://$MODULE_DIR$/temp" /> |
||||||
|
<excludeFolder url="file://$MODULE_DIR$/tmp" /> |
||||||
|
</content> |
||||||
|
<orderEntry type="inheritedJdk" /> |
||||||
|
<orderEntry type="sourceFolder" forTests="false" /> |
||||||
|
</component> |
||||||
|
</module> |
@ -0,0 +1,6 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<project version="4"> |
||||||
|
<component name="VcsDirectoryMappings"> |
||||||
|
<mapping directory="" vcs="Git" /> |
||||||
|
</component> |
||||||
|
</project> |
@ -1,8 +1,10 @@ |
|||||||
import { Router } from 'express'; |
import { Router } from 'express'; |
||||||
import serialPort from '../services/serialPortService.js'; |
import serialPort from '../services/serialPortService.js'; |
||||||
|
import serialPortList from '../services/serialPortService.js'; |
||||||
|
|
||||||
const router = new Router() |
const router = new Router() |
||||||
|
|
||||||
router.get('/:id', serialPort); |
router.get('/open/:id', serialPort); |
||||||
|
router.get('/list', serialPortList); |
||||||
|
|
||||||
export default router |
export default router |
Loading…
Reference in new issue