Add base debug WS route

This commit is contained in:
2025-11-20 19:14:02 +01:00
parent a1b22699e9
commit 3ecfc6b470
4 changed files with 72 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import { APIClient } from "./ApiClient";
export type WsMessage = {
type: string;
[k: string]: any;
};
export class WsApi {
/**
* Get WebSocket URL
*/
static get WsURL(): string {
return APIClient.backendURL() + "/ws";
}
}