Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
peuter committed Aug 12, 2023
1 parent 8f2333a commit 8d4eea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/class/cv/Application.js
Expand Up @@ -1060,7 +1060,7 @@ qx.Class.define('cv.Application', {
} else {
const isOpenHab = this.isServedByOpenhab();
const url = isOpenHab ? cv.io.rest.Client.getBaseUrl() + '/environment'
: cv.io.rest.Client.getBaseUrl().split('/').slice(0, -2).join('/') + '/environment.php';
: cv.io.rest.Client.getBaseUrl().split('/').slice(0, -1).join('/') + '/environment.php';
const xhr = new qx.io.request.Xhr(url);
xhr.set({
method: 'GET',
Expand Down

0 comments on commit 8d4eea7

Please sign in to comment.