1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-06 00:49:58 +00:00
This commit is contained in:
Daniel Roe 2022-12-21 13:58:44 +00:00
parent 92475fdbf4
commit ee9627108c
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55

View file

@ -1,6 +0,0 @@
const reloadRoutes = new Set(['/invite'])
export default defineNuxtRouteMiddleware((to) => {
if (process.client && reloadRoutes.has(to.fullPath))
window.location.pathname = to.path
})