update web to dashboard
This commit is contained in:
@@ -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(/\/$/, "")
|
||||
}
|
||||
Reference in New Issue
Block a user