Skip to content

Commit

Permalink
fix(ui): SSE Map updates should use a relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
VirtualGit committed Jan 30, 2021
1 parent 669f192 commit 54bc2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/zone/js-modules/vacuum-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function VacuumMap(canvasElement) {

function initSSE() {
console.info("SSE Connecting");
evtSource = new EventSource("/api/v2/robot/state/map/sse", {withCredentials: true});
evtSource = new EventSource("api/v2/robot/state/map/sse", {withCredentials: true});


evtSource.addEventListener("MapUpdated", (event) => {
Expand Down

0 comments on commit 54bc2b7

Please sign in to comment.