Skip to content

Commit

Permalink
Revert Update os tapp url parameter temporary
Browse files Browse the repository at this point in the history
Because of caching the chayns.js does not get updated an the api does not know the new os
  • Loading branch information
kmathmann committed Mar 27, 2018
1 parent 12d880f commit 584a518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tapp/custom-tapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function getTappById(tappId) {
function setUrlParams(url) {
url = url.replace(/##apname##/ig, chaynsInfo.LocationName);
url = url.replace(/##siteid##/ig, chaynsInfo.SiteID);
url = url.replace(/##os##/ig, 'chaynsnet-runtime');
url = url.replace(/##os##/ig, 'webshadowlight'); // ToDo: replace with 'chaynsnet-runtime' after chayns-js cache problem is solved
url = url.replace(/##version##/ig, chaynsInfo.getGlobalData().AppInfo.Version);
url = url.replace(/##colormode##/ig, chaynsInfo.ColorMode.toString());
url = url.replace(/##color##/ig, chaynsInfo.Color.replace('#', ''));
Expand Down

0 comments on commit 584a518

Please sign in to comment.