fix: CORS_ORIGINS aligné sur port frontend 3001
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user