mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 12:19:08 +01:00
7 lines
191 B
TypeScript
7 lines
191 B
TypeScript
|
const reloadRoutes = new Set(['/invite'])
|
||
|
|
||
|
export default defineNuxtRouteMiddleware((to) => {
|
||
|
if (process.client && reloadRoutes.has(to.fullPath))
|
||
|
window.location.pathname = to.path
|
||
|
})
|