Move assets to /kalamar, although this kills the old deployment. I don't care for the moment.
diff --git a/public/js/tutorialCookie.js b/public/js/tutorialCookie.js
index 31741a0..ecf39b2 100644
--- a/public/js/tutorialCookie.js
+++ b/public/js/tutorialCookie.js
@@ -28,7 +28,12 @@
c_start = c_value.indexOf(pc + "=");
if (c_start == -1) {
- c_value = '/tutorial?embedded=1';
+ if (document.location.pathname.indexOf('kalamar') >= 0) {
+ c_value = '/kalamar/tutorial?embedded=1';
+ }
+ else {
+ c_value = '/tutorial?embedded=1';
+ };
}
else {
c_start = c_value.indexOf("=", c_start) + 1;