cors allow all - testing purposes
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
60a03ec261
commit
1950ea1fbb
@ -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': [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user