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',] ALLOWED_HOSTS = ['izaac.izaac.pl', 'localhost', '127.0.0.1',]
CORS_ALLOWED_ORIGIN = [ CORS_ALLOW_ALL_ORIGINS = True
"http://localhost:8000",
"http://izaac.izaac.pl", # CORS_ALLOWED_ORIGIN = [
"http://izaac-frontend.izaac.pl", # "http://localhost:8000",
"http://izaac-backend.izaac.pl", # "http://izaac.izaac.pl",
"http://localhost:5173", # "http://izaac-frontend.izaac.pl",
] # "http://izaac-backend.izaac.pl",
# "http://localhost:5173",
# ]
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [ 'DEFAULT_AUTHENTICATION_CLASSES': [