Configure vercel
This commit is contained in:
parent
c42dfd0cd2
commit
d550725622
@ -27,7 +27,7 @@ SECRET_KEY = "django-insecure-r!!7nnmlm1=pzcxzjjm510^ab1yr-h6dc5mly_qu&f7qp3x^69
|
|||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["*"]
|
ALLOWED_HOSTS = ["*", ".vercel.app"]
|
||||||
|
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
@ -76,7 +76,7 @@ TEMPLATES = [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
WSGI_APPLICATION = "PlanktonDetector.wsgi.application"
|
WSGI_APPLICATION = "PlanktonDetector.wsgi.app"
|
||||||
|
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
|
@ -13,4 +13,4 @@ from django.core.wsgi import get_wsgi_application
|
|||||||
|
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PlanktonDetector.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PlanktonDetector.settings")
|
||||||
|
|
||||||
application = get_wsgi_application()
|
app = get_wsgi_application()
|
||||||
|
Loading…
Reference in New Issue
Block a user