mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
14 lines
385 B
JavaScript
14 lines
385 B
JavaScript
import { Router } from 'express'
|
|
|
|
import { homeController } from './controllers/index.js'
|
|
import { userListController } from './controllers/users.js'
|
|
import { commandListController } from './controllers/commands.js'
|
|
|
|
const router = Router()
|
|
|
|
router.get('/', homeController)
|
|
router.get('/users', userListController)
|
|
router.get('/commands', commandListController)
|
|
|
|
export default router
|