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.
12 lines
356 B
12 lines
356 B
import { RouterDefinition } from '../../../lib/src/http/type/RouterDefinition.ts'
|
|
|
|
export default {
|
|
prefix: '/',
|
|
middleware: [],
|
|
get: {
|
|
'/': 'controller::Home.get_home',
|
|
'/maybe': ['middleware::Test', 'controller::Home.get_home'],
|
|
'/statics/**': { handler: 'daton::static', arg: 'assets' },
|
|
},
|
|
} as RouterDefinition
|