diff --git a/zonco_backend/settings.py b/zonco_backend/settings.py index 449ffaf..9ffae1a 100644 --- a/zonco_backend/settings.py +++ b/zonco_backend/settings.py @@ -25,7 +25,11 @@ SECRET_KEY = 'django-insecure-ro-sqgr@$*(qao)@d&ezk*z9&%+vbeurgi$b+6y650j*$1b+n5 # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [ + 'localhost', + '127.0.0.1', + '185.208.172.158', +] # Application definition @@ -160,6 +164,8 @@ CORS_ALLOWED_ORIGINS = [ "http://localhost:3000", "http://127.0.0.1:5173", "http://127.0.0.1:3000", + "http://185.208.172.158:9123", + "http://185.208.172.158", ] CORS_ALLOW_CREDENTIALS = True