add cors headers
This commit is contained in:
8
config/conf/cors_headers.py
Normal file
8
config/conf/cors_headers.py
Normal file
@@ -0,0 +1,8 @@
|
||||
CORS_ALLOWED_ORIGINS = [
|
||||
"http://localhost:8081",
|
||||
"http://127.0.0.1:8081",
|
||||
]
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"https://uyqur.felixits.uz",
|
||||
]
|
||||
Reference in New Issue
Block a user