diff --git a/cmd/strix/main.go b/cmd/strix/main.go index 0629ca0..2c17f6f 100644 --- a/cmd/strix/main.go +++ b/cmd/strix/main.go @@ -20,7 +20,7 @@ import ( const ( // Version is the application version - Version = "1.0.2" + Version = "1.0.3" // Banner is the application banner Banner = ` diff --git a/webui/package.json b/webui/package.json index 11752e8..f888b70 100644 --- a/webui/package.json +++ b/webui/package.json @@ -1,6 +1,6 @@ { "name": "webui", - "version": "1.0.2", + "version": "1.0.3", "type": "module", "description": "", "main": "index.js", diff --git a/webui/web/js/api/stream-discovery.js b/webui/web/js/api/stream-discovery.js index d409451..87bacd3 100644 --- a/webui/web/js/api/stream-discovery.js +++ b/webui/web/js/api/stream-discovery.js @@ -12,9 +12,7 @@ export class StreamDiscoveryAPI { discover(request, callbacks) { this.close(); - const url = new URL(`${this.baseURL}api/v1/streams/discover`, window.location.origin); - - fetch(url, { + fetch(`${this.baseURL}api/v1/streams/discover`, { method: 'POST', headers: { 'Content-Type': 'application/json',