chore(dev): support accessing the dev server from non-localhost (#887)

This commit is contained in:
James Ward
2026-04-25 17:34:30 -04:00
committed by GitHub
parent 42c74171b1
commit 254765f4aa
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
export const environment = {
production: false,
API_CONFIG: {
BASE_URL: 'http://localhost:6060',
BROKER_URL: 'ws://localhost:6060/ws',
BASE_URL: `http://${window.location.hostname}:6060`,
BROKER_URL: `ws://${window.location.hostname}:6060/ws`,
},
};