ops: add csrf trusted origins for production deployment
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||||||
SECRET_KEY = config('SECRET_KEY', default='poc-secret-key')
|
SECRET_KEY = config('SECRET_KEY', default='poc-secret-key')
|
||||||
DEBUG = config('DEBUG', default=True, cast=bool)
|
DEBUG = config('DEBUG', default=True, cast=bool)
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
|
CSRF_TRUSTED_ORIGINS=['https://*.bigoscloud.com']
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
'daphne',
|
'daphne',
|
||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
|
|||||||
Reference in New Issue
Block a user