feat: add session auth api
This commit is contained in:
@@ -77,6 +77,11 @@ CORS_ALLOWED_ORIGINS = os.getenv(
|
||||
"CORS_ALLOWED_ORIGINS",
|
||||
"http://localhost:5173",
|
||||
).split(",")
|
||||
CORS_ALLOW_CREDENTIALS = True
|
||||
CSRF_TRUSTED_ORIGINS = os.getenv(
|
||||
"CSRF_TRUSTED_ORIGINS",
|
||||
"http://localhost:5173,http://127.0.0.1:5173",
|
||||
).split(",")
|
||||
|
||||
CELERY_BROKER_URL = os.getenv("CELERY_BROKER_URL", "redis://localhost:6379/0")
|
||||
CELERY_RESULT_BACKEND = os.getenv("CELERY_RESULT_BACKEND", "redis://localhost:6379/1")
|
||||
|
||||
Reference in New Issue
Block a user