diff --git a/examples/humanize/humanize.star b/examples/humanize/example.star similarity index 100% rename from examples/humanize/humanize.star rename to examples/humanize/example.star diff --git a/examples/qrcode/qrcode.star b/examples/qrcode/example.star similarity index 100% rename from examples/qrcode/qrcode.star rename to examples/qrcode/example.star diff --git a/src/features/watcher/watcher.js b/src/features/watcher/watcher.js index 340c3429fd..58f4efe658 100644 --- a/src/features/watcher/watcher.js +++ b/src/features/watcher/watcher.js @@ -10,7 +10,7 @@ export default class Watcher { connect() { const proto = document.location.protocol === "https:" ? "wss:" : "ws:"; - this.conn = new WebSocket(proto + '//' + document.location.host + document.location.pathname + 'api/v1/ws'); + this.conn = new WebSocket(proto + '//' + document.location.host + document.location.pathname + '/api/v1/ws'); this.conn.open = this.open.bind(this); this.conn.onmessage = this.process.bind(this); this.conn.onclose = this.close.bind(this);