X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Frouter.js;h=a4d3236929800d970e8d06967e2cf79f1127f43e;hp=26bdee9441fdfb34452c6f394eff187aa71adc3d;hb=41cb9b940084d6f56351a772f0340ebf0bc8d1bc;hpb=40367778b7c2c5412b6941874e3322e584ef1aa0 diff --git a/client/src/router.js b/client/src/router.js index 26bdee94..a4d32369 100644 --- a/client/src/router.js +++ b/client/src/router.js @@ -86,9 +86,6 @@ router.beforeEach((to, from, next) => { store.state.conn.send(JSON.stringify({code: "pagechange", page: to.path})); } next(); - // TODO?: redirect to current game (through GameStorage.getCurrent()) if any? - // (and if the URL doesn't already match it) (use next("/game/GID")) - //https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards }); export default router;