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')
|
||||
DEBUG = config('DEBUG', default=True, cast=bool)
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
CSRF_TRUSTED_ORIGINS=['https://*.bigoscloud.com']
|
||||
INSTALLED_APPS = [
|
||||
'daphne',
|
||||
'django.contrib.admin',
|
||||
|
||||
Reference in New Issue
Block a user