Skip to content

Commit cfd3b25

Browse files
restore accidentally removed UI code to load latest version correctly (#386)
1 parent 043821d commit cfd3b25

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

client/public/index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
// <![CDATA[
3535
window.RATEL_CDN_MODE = "%CDN_MODE%";
3636
window.RATEL_CDN_MAP = {
37-
"cachedjs": "",
38-
"dev": "%CDN_URL%dev/",
39-
"latest": "%CDN_URL%",
40-
"local": "",
41-
};
37+
cachedjs: "",
38+
dev: "%CDN_URL%dev/",
39+
latest: "%CDN_URL%",
40+
local: "",
41+
};
4242
// ]]>
4343
</script>
4444
</head>
@@ -501,6 +501,10 @@ <h4>
501501
codeVersion = urlParams.get('cdn')
502502
}
503503

504+
// Temporary solution to force loading latest version
505+
storedCdn = "local";
506+
codeVersion = "local";
507+
504508
if (window.RATEL_CDN_MAP.hasOwnProperty(codeVersion)) {
505509
if (codeVersion === 'dev') {
506510
window.RATEL_DEV_MODE = true;

0 commit comments

Comments
 (0)