исправлен allowed host в настройках
This commit is contained in:
parent
b8478e4c26
commit
148a25abd0
@ -31,7 +31,7 @@ SECRET_KEY = os.getenv('DJANGO_SECRET_KEY')
|
|||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["arka-dev.topserv4824.duckdns.org", "192.168.0.160", "localhost"]
|
ALLOWED_HOSTS = ["arka-dev.topserv4824.duckdns.org", "arka.topserv4824.duckdns.org", "192.168.0.160", "localhost"]
|
||||||
CSRF_TRUSTED_ORIGINS = ['https://arka-dev.topserv4824.duckdns.org']
|
CSRF_TRUSTED_ORIGINS = ['https://arka-dev.topserv4824.duckdns.org']
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
Reference in New Issue
Block a user