Initial commit
This commit is contained in:
11
app/http/routes/home.routes.ts
Normal file
11
app/http/routes/home.routes.ts
Normal 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
|
||||
Reference in New Issue
Block a user