projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parameters adjustments + cosmetics
[vchess.git]
/
client
/
src
/
router.js
diff --git
a/client/src/router.js
b/client/src/router.js
index
380ccc6
..
49f777d
100644
(file)
--- a/
client/src/router.js
+++ b/
client/src/router.js
@@
-46,7
+46,9
@@
const router = new Router({
localStorage["myname"] = res.name;
localStorage["myid"] = res.id;
}
- next("/");
+ // TODO: I don't like these 2 lines, "next('/')" should be enough
+ window.location = "/";
+ next();
}
);
},