Files
linux-odyssey/server/src/api/routes/commands.js
T

10 lines
264 B
JavaScript

import { Router } from 'express'
import * as commandController from '../controllers/commandController.js'
const router = Router()
router.post('/', commandController.newCommand)
router.post('/completed', commandController.completedCommand)
export default router