Fix timeout
This commit is contained in:
parent
c009db9016
commit
b1d39abd67
@ -10,6 +10,7 @@ public func configure(_ app: Application) throws {
|
|||||||
|
|
||||||
// Configure Leaf
|
// Configure Leaf
|
||||||
LeafOption.caching = app.environment.isRelease ? .default : .bypass
|
LeafOption.caching = app.environment.isRelease ? .default : .bypass
|
||||||
|
LeafRenderer.Option.timeout = 200.0
|
||||||
app.views.use(.leaf)
|
app.views.use(.leaf)
|
||||||
|
|
||||||
// Register routes
|
// Register routes
|
||||||
|
Reference in New Issue
Block a user