From 8fffa47e756c0668cc84b4ca053cd96a886c8d87 Mon Sep 17 00:00:00 2001 From: N-Pex Date: Mon, 25 Jan 2021 21:24:23 +0100 Subject: [PATCH] Make sure to include app path In links created, see issue #37. --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 8f1455c..1af2610 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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