Advance on Game.vue
[vchess.git] / client / src / main.js
index 56c6492..6714939 100644 (file)
@@ -12,7 +12,7 @@ new Vue({
   },
   created: function() {
     window.doClick = (elemId) => { document.getElementById(elemId).click() };
-    store.initialize();
+    store.initialize(this.$route.path);
     // NOTE: at this point, variants and tr(anslations) might be uninitialized
   },
 }).$mount("#app");