zio/stable
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
1 changed files with 0 additions and 6 deletions

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
})