Fix timeout

This commit is contained in:
Elara 2020-11-11 15:58:42 -08:00
parent c009db9016
commit b1d39abd67

View File

@ -10,6 +10,7 @@ public func configure(_ app: Application) throws {
// Configure Leaf
LeafOption.caching = app.environment.isRelease ? .default : .bypass
LeafRenderer.Option.timeout = 200.0
app.views.use(.leaf)
// Register routes