chore(auto): task completed - unknown

This commit is contained in:
MythEclipse
2026-06-13 11:46:15 +07:00
parent 30f8d7cce3
commit 1406ce3585
20 changed files with 19 additions and 79 deletions
@@ -6,7 +6,6 @@ import { createLogger } from "../lib/logger.js";
const logger = createLogger("api");
const BE_API_URL = import.meta.env.VITE_BE_API_URL || "http://localhost:3001";
const BE_WS_URL = import.meta.env.VITE_BE_WS_URL || "ws://localhost:3001";
class ApiError extends Error {
code: string;
@@ -52,10 +51,6 @@ export async function request<T>(path: string, init?: RequestInit): Promise<T> {
return result;
}
export function getWebSocketURL(): string {
return BE_WS_URL;
}
export function getAPIURL(): string {
return BE_API_URL;
}