kopia lustrzana https://github.com/elk-zone/elk
fix: allow sharing invite links within elk
rodzic
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
|
||||
})
|
Ładowanie…
Reference in New Issue