Start routing; rehydratable interface; add verbose logging
This commit is contained in:
@@ -6,3 +6,4 @@ export { default as RoutesUnit } from '../../lib/src/unit/Routes.ts'
|
||||
export { default as HttpKernelUnit } from '../../lib/src/unit/HttpKernel.ts'
|
||||
export { default as ModelsUnit } from '../../orm/src/ModelsUnit.ts'
|
||||
export { default as HttpServerUnit } from '../../lib/src/unit/HttpServer.ts'
|
||||
export { default as RoutingUnit } from '../../lib/src/unit/Routing.ts'
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
export default {
|
||||
port: 8080,
|
||||
use_ssl: false,
|
||||
prefix: '/',
|
||||
allow_mount_without_prefix: false,
|
||||
|
||||
powered_by: {
|
||||
enable: true,
|
||||
|
||||
11
app/units.ts
11
app/units.ts
@@ -1,5 +1,13 @@
|
||||
import {
|
||||
ConfigUnit, DatabaseUnit, ControllerUnit, MiddlewareUnit, RoutesUnit, HttpKernelUnit, ModelsUnit, HttpServerUnit
|
||||
ConfigUnit,
|
||||
DatabaseUnit,
|
||||
ControllerUnit,
|
||||
MiddlewareUnit,
|
||||
RoutesUnit,
|
||||
HttpKernelUnit,
|
||||
ModelsUnit,
|
||||
HttpServerUnit,
|
||||
RoutingUnit
|
||||
} from './bundle/daton_units.ts'
|
||||
|
||||
export default [
|
||||
@@ -10,5 +18,6 @@ export default [
|
||||
MiddlewareUnit,
|
||||
ControllerUnit,
|
||||
RoutesUnit,
|
||||
RoutingUnit,
|
||||
HttpServerUnit,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user