feat: Begins migrating views from leaf to elementary
This commit is contained in:
@@ -22,6 +22,7 @@ public func configure(_ app: Application) async throws {
|
||||
// uncomment to serve files from /Public folder
|
||||
app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory))
|
||||
app.middleware.use(app.sessions.middleware)
|
||||
app.middleware.use(DependenciesMiddleware())
|
||||
|
||||
#if DEBUG
|
||||
app.lifecycle.use(BrowserSyncHandler())
|
||||
@@ -42,7 +43,6 @@ public func configure(_ app: Application) async throws {
|
||||
try withDependencies {
|
||||
$0.database = databaseClient
|
||||
} operation: {
|
||||
// register routes
|
||||
try routes(app)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user