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: