Initial commit

This commit is contained in:
2020-10-05 11:44:05 -05:00
commit 5917935505
29 changed files with 385 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { RouterDefinition } from '../../../bundle/daton.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