Skip to content

Commit 2701ce5

Browse files
committed
patch
1 parent ac09047 commit 2701ce5

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,10 @@ module openflow {
435435
var storage = window.localStorage;
436436
var value = storage.getItem("mobiledomain"); // Pass a key name to get its value.
437437
console.log(value);
438+
if (value == "aiotdev-frontend.openrpa.dk" || value == "slagelse.openrpa.dk" || value == "slagelsedev.openrpa.dk") {
439+
storage.removeItem("mobiledomain");
440+
value = null;
441+
}
438442
if (value !== null && value !== undefined && value !== "") {
439443
if (value !== window.location.hostname) {
440444
window.location.replace("https://" + value);

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.148
1+
0.0.149

0 commit comments

Comments
 (0)