This commit is contained in:
Baobhan Sith
2025-04-28 18:40:58 +08:00
parent 6f791897cf
commit 6062e99e3e
7 changed files with 122 additions and 45 deletions
@@ -40,7 +40,8 @@ const MIN_MODAL_HEIGHT = 768;
// Dynamically construct WebSocket URL based on environment
let backendBaseUrl: string;
const LOCAL_BACKEND_URL = 'ws://localhost:18112'
// const LOCAL_BACKEND_URL = 'ws://localhost:18112'
const LOCAL_BACKEND_URL = 'ws://localhost:8081'
// Determine WebSocket URL based on hostname
if (window.location.hostname === 'localhost') {