diff --git a/PlanktonDetector/PlanktonDetector/settings.py b/PlanktonDetector/PlanktonDetector/settings.py index bd63305..54ff10f 100644 --- a/PlanktonDetector/PlanktonDetector/settings.py +++ b/PlanktonDetector/PlanktonDetector/settings.py @@ -27,7 +27,7 @@ SECRET_KEY = "django-insecure-r!!7nnmlm1=pzcxzjjm510^ab1yr-h6dc5mly_qu&f7qp3x^69 DEBUG = True -ALLOWED_HOSTS = ["*"] +ALLOWED_HOSTS = ["*", ".vercel.app"] # Application definition @@ -76,7 +76,7 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = "PlanktonDetector.wsgi.application" +WSGI_APPLICATION = "PlanktonDetector.wsgi.app" # Database diff --git a/PlanktonDetector/PlanktonDetector/wsgi.py b/PlanktonDetector/PlanktonDetector/wsgi.py index 3714123..20ac26e 100644 --- a/PlanktonDetector/PlanktonDetector/wsgi.py +++ b/PlanktonDetector/PlanktonDetector/wsgi.py @@ -13,4 +13,4 @@ from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PlanktonDetector.settings") -application = get_wsgi_application() +app = get_wsgi_application()