Skip to content

Commit

Permalink
fix: Register path 'login' to match info
Browse files Browse the repository at this point in the history
  • Loading branch information
rapsealk committed Jan 15, 2025
1 parent fe42788 commit a804913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/backend/web/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ async def server_main(
cors.add(app.router.add_route("PATCH", "/func/{path:.*$}", web_handler))
cors.add(app.router.add_route("DELETE", "/func/{path:.*$}", web_handler))
cors.add(app.router.add_route("GET", "/pipeline/{path:stream/.*$}", pipeline_websocket_handler))
cors.add(app.router.add_route("POST", "/pipeline/login/", pipeline_login_handler))
cors.add(app.router.add_route("POST", "/pipeline/{path:login/$}", pipeline_login_handler))
cors.add(app.router.add_route("GET", "/pipeline/{path:.*$}", pipeline_handler))
cors.add(app.router.add_route("PUT", "/pipeline/{path:.*$}", pipeline_handler))
cors.add(app.router.add_route("POST", "/pipeline/{path:.*$}", pipeline_handler))
Expand Down

0 comments on commit a804913

Please sign in to comment.