import { Router } from 'express'; import serialPort from '../services/serialPortService.js'; const router = new Router() router.get('/:id', serialPort); export default router