Atualizar app/config.py
This commit is contained in:
+2
-1
@@ -5,7 +5,8 @@ import os
|
|||||||
class Config:
|
class Config:
|
||||||
"""Base configuration for the Flask application."""
|
"""Base configuration for the Flask application."""
|
||||||
|
|
||||||
AUTH_MODE = os.getenv("AUTH_MODE", "db") # "db" ou "oauth"
|
AUTH_MODE = os.getenv("AUTH_MODE", "db") # "db" or "oauth"
|
||||||
|
APP_DOMAIN = os.getenv("APP_DOMAIN", "localhost")
|
||||||
|
|
||||||
# Secret key for sessions and cookies.
|
# Secret key for sessions and cookies.
|
||||||
SECRET_KEY = os.getenv("FLASK_SECRET_KEY", "change-this-secret")
|
SECRET_KEY = os.getenv("FLASK_SECRET_KEY", "change-this-secret")
|
||||||
|
|||||||
Reference in New Issue
Block a user