We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a863c5 commit 0b50d09Copy full SHA for 0b50d09
1 file changed
src/main.py
@@ -45,6 +45,8 @@ def create_app() -> Quart:
45
app.config["POSTGRESQL_DATABASE_URI"] = appconfig.POSTGRESQL_DATABASE_URI
46
app.config["TEMPLATES_AUTO_RELOAD"] = True
47
app.config["WTF_CSRF_TIME_LIMIT"] = None # Max age in seconds for CSRF tokens. If set to None, the CSRF token is valid for the life of the session.
48
+ app.config["SECRET_KEY"] = appconfig.SECRET_KEY
49
+ app.config["JWT_SECRET_KEY"] = appconfig.JWT_SECRET_KEY
50
app.after_request(_add_secure_headers)
51
app.register_blueprint(home_blueprint, url_prefix="/")
52
app.register_blueprint(health_blueprint, url_prefix="/health")
0 commit comments