feat: added new settings and styling
This commit is contained in:
@@ -15,8 +15,12 @@ if os.path.exists(env_file):
|
||||
SECRET_KEY = env.str("SECRET_KEY", "this-is-the-default-secret-key")
|
||||
DEBUG = env.bool("DEBUG", True)
|
||||
|
||||
CORS_ORIGIN_WHITELIST = env.str("CORS_ORIGIN_WHITELIST", "http://localhost:8000").split(",")
|
||||
CSRF_TRUSTED_ORIGINS = env.str("CSRF_TRUSTED_ORIGINS", "http://localhost:8000").split(",")
|
||||
CORS_ORIGIN_WHITELIST = env.str("CORS_ORIGIN_WHITELIST", "http://localhost:8000").split(
|
||||
","
|
||||
)
|
||||
CSRF_TRUSTED_ORIGINS = env.str("CSRF_TRUSTED_ORIGINS", "http://localhost:8000").split(
|
||||
","
|
||||
)
|
||||
|
||||
DATABASE_URL = env.db_url("DATABASE_URL", "sqlite:///db.sqlite3")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user