-
-
Save fitomad/b947c83db24e840f970dcfc7ce11f5c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// configures your application | |
public func configure(_ app: Application) throws { | |
... | |
// Session | |
app.middleware.use(app.sessions.middleware) | |
app.sessions.use(.memory) | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment