fix: revert onstartup extension route init
This commit is contained in:
parent
1d2e994862
commit
98735d79c7
1 changed files with 8 additions and 10 deletions
|
|
@ -160,8 +160,6 @@ def register_routes(app: FastAPI) -> None:
|
|||
app.include_router(core_app)
|
||||
app.include_router(core_html_routes)
|
||||
|
||||
@app.on_event("startup")
|
||||
def register_all_ext_routes():
|
||||
for ext in get_valid_extensions():
|
||||
try:
|
||||
register_ext_routes(app, ext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue