fix: allow sharing invite links within elk
parent
0320d5ab44
commit
92475fdbf4
|
@ -0,0 +1,6 @@
|
|||
const reloadRoutes = new Set(['/invite'])
|
||||
|
||||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (process.client && reloadRoutes.has(to.fullPath))
|
||||
window.location.pathname = to.path
|
||||
})
|
Loading…
Reference in New Issue