Skip to content

Commit

Permalink
fix #1737: MakeFastAPIOffline函数内代码编写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
liunux4odoo committed Oct 12, 2023
1 parent 01577d6 commit 1ac1739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def remove_route(url: str) -> None:
index = i
break
if isinstance(index, int):
app.routes.pop(i)
app.routes.pop(index)

# Set up static file mount
app.mount(
Expand Down

0 comments on commit 1ac1739

Please sign in to comment.