update web to dashboard

This commit is contained in:
mlogclub
2026-04-15 17:20:57 +08:00
parent 3d98cf1e27
commit c07e588030
206 changed files with 0 additions and 0 deletions
-6
View File
@@ -1,6 +0,0 @@
const API_BASE_URL =
process.env.NEXT_PUBLIC_API_BASE_URL?.trim() || "http://127.0.0.1:8083"
export function createWebSocketBaseUrl() {
return API_BASE_URL.replace(/^http/, "ws").replace(/\/$/, "")
}