mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-01-18 17:13:00 +08:00
Update CORS
This commit is contained in:
parent
37f656e3a8
commit
7a29e0b737
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: git.06222001.xyz/keannu125/docmanager_backend:dev
|
||||
image: git.06222001.xyz/keannu125/docmanagerbackend:dev
|
||||
ports:
|
||||
- "${BACKEND_PORT}:8000"
|
||||
environment:
|
||||
|
|
|
@ -264,3 +264,6 @@ DATA_UPLOAD_MAX_NUMBER_FIELDS = 20480
|
|||
|
||||
GRAPH_MODELS = {"app_labels": [
|
||||
"accounts", "documents", "document_requests", "questionnaires"]}
|
||||
|
||||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
CORS_ALLOW_CREDENTIALS = True
|
Loading…
Reference in a new issue