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',]
|
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': [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user