Integrated the DocCMiddleware middleware into the AppBuilder builder in the app target.
This commit is contained in:
parent
19a54b25ae
commit
c59b2ba453
@ -31,6 +31,10 @@ public struct AppBuilder {
|
||||
}()
|
||||
|
||||
let router = router(logger: logger)
|
||||
|
||||
router.addMiddleware {
|
||||
DocCMiddleware("Resources/Public")
|
||||
}
|
||||
|
||||
return Application(
|
||||
router: router,
|
||||
|
Loading…
x
Reference in New Issue
Block a user