From cb109b49b8e88bf85ba81d2b3db4d29b2762ff1f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 6 Jul 2023 21:19:01 +0100 Subject: [PATCH] fix: don't redirect to generated path --- plugins/path.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 plugins/path.ts diff --git a/plugins/path.ts b/plugins/path.ts new file mode 100644 index 00000000..0f20b958 --- /dev/null +++ b/plugins/path.ts @@ -0,0 +1,6 @@ +export default defineNuxtPlugin({ + order: -40, + setup: (nuxtApp) => { + delete nuxtApp.payload.path + }, +})