refactor: change ports to non-standard (backend: 8765, frontend: 4321)

This commit is contained in:
TheRaiwy
2026-06-01 13:35:58 +03:00
parent e11df2ff92
commit df81f7abcc
6 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -7,6 +7,6 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
EXPOSE 8765
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8765"]
+1 -1
View File
@@ -10,7 +10,7 @@ app = FastAPI(title="Kopilka API", version="1.0.0")
app.add_middleware(
CORSMiddleware,
allow_origins=["http://localhost:5173", "http://localhost:3000"],
allow_origins=["http://localhost:5173", "http://localhost:4321"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],