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