add allowed hosts
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K
2024-02-01 22:46:23 +01:00
parent ad3d470195
commit 14ac6229d3
2 changed files with 6 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ SECRET_KEY = "django-insecure-ztiqj957k(j*@ms=-^9j+=j7wd+cyo*+9g&hkfh1bji-@#&6(e
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['izaac.izaac.pl', 'localhost', '127.0.0.1',]
ALLOWED_HOSTS = ['izaac.izaac.pl', 'localhost', '127.0.0.1', 'izaac']
CORS_ALLOW_ALL_ORIGINS = True