mirror of
https://github.com/smartyellow/status.git
synced 2025-07-19 04:54:04 +00:00
Route prefix
This commit is contained in:
@ -88,7 +88,7 @@
|
||||
|
||||
onMount(() => {
|
||||
proportionalGrid();
|
||||
const ws = new WebSocket('ws://__SERVER__/statusdashboard/socket');
|
||||
const ws = new WebSocket('ws://__SERVER__/status/dashboard/socket');
|
||||
|
||||
ws.onmessage = async evt => {
|
||||
const data = JSON.parse(evt.data || '""');
|
||||
|
Reference in New Issue
Block a user