Make sure to include app path

In links created, see issue #37.
This commit is contained in:
N-Pex 2021-01-25 21:24:23 +01:00
parent 4dac049664
commit 8fffa47e75

View file

@ -76,7 +76,7 @@ router.beforeEach((to, from, next) => {
});
router.getRoomLink = function(roomId) {
return window.location.origin + "/#/room/" + roomId;
return window.location.origin + window.location.pathname + "#/room/" + roomId;
}
export default router