From 9c9275b767fee25aea5903cf8456665b8c40418a Mon Sep 17 00:00:00 2001 From: jhqxxx <18280426169@163.com> Date: Sat, 14 Mar 2026 23:10:40 +0800 Subject: [PATCH] api add /v1/ --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 5668640..1455e41 100644 --- a/src/main.rs +++ b/src/main.rs @@ -656,6 +656,7 @@ pub(crate) async fn start_http_server( ..Config::default() }); + builder = builder.mount("/v1/chat", routes![api::chat]); builder = builder.mount("/chat", routes![api::chat]); // /images/remove_background builder = builder.mount("/images", routes![api::remove_background]);