From ee9627108cd06725898c07d99a7f7d5625046666 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 21 Dec 2022 13:58:44 +0000 Subject: [PATCH] fix: revert 92475fdbf4fa5bf7c4cf1564823f7bf75c1d39f6 --- middleware/link.global.ts | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 middleware/link.global.ts diff --git a/middleware/link.global.ts b/middleware/link.global.ts deleted file mode 100644 index 6d78da12..00000000 --- a/middleware/link.global.ts +++ /dev/null @@ -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 -})