forked from boos/BoosAPI
fix: ComfyUI wildcard route syntax for axum 0.8+
- Changed to in comfyui proxy route - Added config.toml for local dev - Verified: Rust backend starts and serves /healthz, /api/sites, /api/events, /api/tasks, /api/settings, /api/organizations/plans - 18/18 tests pass
This commit is contained in:
@@ -82,7 +82,7 @@ pub fn routes() -> Router<AppState> {
|
||||
.route("/api/comfyui/queue", get(proxy_get_queue))
|
||||
.route("/api/comfyui/view", get(proxy_get_view))
|
||||
// Static proxy (public — assets/JS/CSS)
|
||||
.route("/api/comfyui/proxy/*path", get(proxy_static))
|
||||
.route("/api/comfyui/proxy/{*path}", get(proxy_static))
|
||||
// HTML page (public)
|
||||
.route("/comfyui", get(comfyui_page))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user