fix aud search on center
This commit is contained in:
@@ -12,6 +12,7 @@ from backend.routers.rashodniki import consumables
|
||||
from backend.routers.zametki import zametki
|
||||
from backend.routers.auth import auth
|
||||
from backend.routers.owners import owners
|
||||
from backend.routers.inspections import inspections
|
||||
|
||||
|
||||
|
||||
@@ -32,8 +33,7 @@ def ping():
|
||||
return {"message": "pong"}
|
||||
|
||||
|
||||
# Serve static assets and frontend
|
||||
app.mount("/static", StaticFiles(directory="static"), name="static")
|
||||
# Serve frontend
|
||||
app.mount("/app", StaticFiles(directory="frontend", html=True), name="frontend")
|
||||
|
||||
@app.get("/")
|
||||
@@ -46,11 +46,12 @@ def login_page():
|
||||
|
||||
|
||||
# Подключение роутов
|
||||
app.include_router(equipment_types)
|
||||
app.include_router(auditories)
|
||||
app.include_router(oboruds)
|
||||
app.include_router(equipment_types)
|
||||
app.include_router(auditories)
|
||||
app.include_router(oboruds)
|
||||
app.include_router(components)
|
||||
app.include_router(consumables)
|
||||
app.include_router(zametki)
|
||||
app.include_router(auth)
|
||||
app.include_router(owners)
|
||||
app.include_router(inspections)
|
||||
|
||||
Reference in New Issue
Block a user