From 53bb8bd27aed1b7d0bb2367db95bb6d370e787be Mon Sep 17 00:00:00 2001 From: Gilles Soulier Date: Sun, 24 May 2026 05:32:28 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20CORS=5FORIGINS=20align=C3=A9=20sur=20por?= =?UTF-8?q?t=20frontend=203001?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 4e29b25..f6fa2cd 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,3 @@ DATABASE_URL=postgresql+asyncpg://homehub:homehub@db:5432/homehub UPLOAD_DIR=/uploads -CORS_ORIGINS=http://localhost:3000,http://frontend:3000 +CORS_ORIGINS=http://localhost:3001,http://localhost:3000 diff --git a/docker-compose.yml b/docker-compose.yml index c7d9b21..a44858e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: environment: DATABASE_URL: postgresql+asyncpg://homehub:homehub@db:5432/homehub UPLOAD_DIR: /uploads - CORS_ORIGINS: http://localhost:3000,http://frontend:3000 + CORS_ORIGINS: http://localhost:3001,http://localhost:3000 volumes: - uploads:/uploads ports: