1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

переработка модальных окон3

This commit is contained in:
MoonTestUse1
2025-01-03 02:38:57 +06:00
parent 0a1de2539e
commit 50631b8c30
3 changed files with 35 additions and 5 deletions

View File

@@ -4,7 +4,10 @@ from fastapi.middleware.cors import CORSMiddleware
from . import models
from .routers import admin, employees, requests, auth, statistics
app = FastAPI()
app = FastAPI(
# Отключаем автоматическое перенаправление со слэшем
redirect_slashes=False
)
# CORS configuration
app.add_middleware(