Remove old add_event_handler

This commit is contained in:
grossmj 2026-03-28 09:59:29 +08:00
parent 01a68fb23a
commit 46f77eb7d5
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -71,8 +71,6 @@ def get_application() -> FastAPI:
allow_headers=["*"],
)
#application.add_event_handler("startup", tasks.create_startup_handler(application))
#application.add_event_handler("shutdown", tasks.create_shutdown_handler(application))
application.include_router(index.router, tags=["Index"])
application.include_router(controller.router, prefix="/v3")
application.mount("/static", StaticFiles(packages=[('gns3server', 'static')]), name="static")