mirror of https://github.com/requarks/wiki
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.
14 lines
401 B
14 lines
401 B
/**
|
|
* API Routes
|
|
*/
|
|
async function routes(app) {
|
|
app.register(import('./authentication.js'))
|
|
app.register(import('./locales.js'), { prefix: '/locales' })
|
|
app.register(import('./pages.js'))
|
|
app.register(import('./sites.js'), { prefix: '/sites' })
|
|
app.register(import('./system.js'), { prefix: '/system' })
|
|
app.register(import('./users.js'), { prefix: '/users' })
|
|
}
|
|
|
|
export default routes
|