diff --git a/backend/app/main.py b/backend/app/main.py index 9c7ab71..ed0ba97 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -14,7 +14,15 @@ app = FastAPI() app.add_middleware( CORSMiddleware, - allow_origins=["http://localhost:3000", "https://localhost:3000"], + allow_origins=[ + "http://localhost:3000", + "http://localhost:8000", + "http://192.168.125.129:3000", + "https://192.168.125.129:3000", + "http://192.168.125.129:8000", + "https://192.168.125.129:8000", + "https://site.muszyn.dev", + ], allow_credentials=True, allow_methods=["*"], allow_headers=["*"], diff --git a/docker-compose.yaml b/docker-compose.yaml index 2affb01..5d79ca8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -38,6 +38,7 @@ services: frontend: build: ./frontend + env_file: ./.env ports: - "3000:80" depends_on: