mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
переработка модальных окон3
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user