cors allow all - testing purposes
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2023-12-29 17:33:58 +01:00
parent 60a03ec261
commit 1950ea1fbb

View File

@ -29,13 +29,15 @@ DEBUG = True
ALLOWED_HOSTS = ['izaac.izaac.pl', 'localhost', '127.0.0.1',]
CORS_ALLOWED_ORIGIN = [
"http://localhost:8000",
"http://izaac.izaac.pl",
"http://izaac-frontend.izaac.pl",
"http://izaac-backend.izaac.pl",
"http://localhost:5173",
]
CORS_ALLOW_ALL_ORIGINS = True
# CORS_ALLOWED_ORIGIN = [
# "http://localhost:8000",
# "http://izaac.izaac.pl",
# "http://izaac-frontend.izaac.pl",
# "http://izaac-backend.izaac.pl",
# "http://localhost:5173",
# ]
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [