Spaces:
Running
Running
Update hsapssconnect/settings.py
Browse files
hsapssconnect/settings.py
CHANGED
@@ -29,7 +29,7 @@ DEBUG = True
|
|
29 |
ALLOWED_HOSTS = ["*", "127.0.0.1", "localhost","thejagstudio-connect.hf.space"]
|
30 |
CORS_ORIGIN_ALLOW_ALL = True
|
31 |
CORS_ALLOW_CREDENTIALS = False
|
32 |
-
CSRF_TRUSTED_ORIGINS = ["thejagstudio-connect.hf.space"]
|
33 |
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
34 |
# SECURE_SSL_REDIRECT = True
|
35 |
# SESSION_COOKIE_SECURE = True
|
|
|
29 |
ALLOWED_HOSTS = ["*", "127.0.0.1", "localhost","thejagstudio-connect.hf.space"]
|
30 |
CORS_ORIGIN_ALLOW_ALL = True
|
31 |
CORS_ALLOW_CREDENTIALS = False
|
32 |
+
CSRF_TRUSTED_ORIGINS = ["https://thejagstudio-connect.hf.space"]
|
33 |
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
34 |
# SECURE_SSL_REDIRECT = True
|
35 |
# SESSION_COOKIE_SECURE = True
|