diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index f4286ca..98f8632 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -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: diff --git a/docmanager_backend/config/settings.py b/docmanager_backend/config/settings.py index 3f23ee9..02f277f 100644 --- a/docmanager_backend/config/settings.py +++ b/docmanager_backend/config/settings.py @@ -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 \ No newline at end of file