Fix to webui to remove hardcoded HTTP server port.
This allows to change the "http_port" parameter of the daemon configuration.
This commit is contained in:
parent
344fba0827
commit
561ae1b334
@ -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 = {}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user