api add /v1/

This commit is contained in:
jhqxxx
2026-03-14 23:10:40 +08:00
parent 813f4decaf
commit 9c9275b767
+1
View File
@@ -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]);