diff --git a/webui/src/Services.js b/webui/src/Services.js index 148695a..09cb019 100644 --- a/webui/src/Services.js +++ b/webui/src/Services.js @@ -44,7 +44,7 @@ const defaultParams = { export default class RestAPI { static getBaseUrl() { - return location.protocol + '//' + location.hostname + ':8080'; + return location.protocol + '//' + location.host; } static doFetch(url, params = {}) {