You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
363 B
17 lines
363 B
2 years ago
|
// const token = require('./token')
|
||
|
// const article = require('./article')
|
||
|
import token from './token.js'
|
||
|
import article from './article.js'
|
||
|
|
||
|
// module.exports = routers = (app) => {
|
||
|
// app.use('/token', token)
|
||
|
// app.use('/article', article)
|
||
|
// }
|
||
|
|
||
|
const routes = (app) => {
|
||
|
app.use('/token', token)
|
||
|
app.use('/article', article)
|
||
|
}
|
||
|
|
||
|
export default routes
|