mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
Remove old add_event_handler
This commit is contained in:
parent
01a68fb23a
commit
46f77eb7d5
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user