From 25a230372f4ac7a8943efbb238b86a96d717e493 Mon Sep 17 00:00:00 2001 From: gbhu753 Date: Wed, 7 Aug 2024 14:41:39 +1200 Subject: [PATCH] Feat: Enable cors for directus --- docker/docker-compose.microservice.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/docker-compose.microservice.yml b/docker/docker-compose.microservice.yml index 59480e8..f1bcc50 100755 --- a/docker/docker-compose.microservice.yml +++ b/docker/docker-compose.microservice.yml @@ -46,6 +46,8 @@ services: WEBSOCKETS_ENABLED: "true" DB_CLIENT: "sqlite3" DB_FILENAME: "/directus/database/data.db" + CORS_ENABLED: "true" + # For external database # DB_CLIENT: "pg" # DB_HOST: "host.docker.internal"