From d7ebf349e021cb144b6f5f9df36ed5cb7eddda8c Mon Sep 17 00:00:00 2001 From: toby044 Date: Wed, 10 Apr 2024 13:02:09 +0200 Subject: [PATCH] feat: added support for special characters --- src/runtime/plugin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/plugin.js b/src/runtime/plugin.js index 2b4e9d6..98b7800 100644 --- a/src/runtime/plugin.js +++ b/src/runtime/plugin.js @@ -37,6 +37,8 @@ export default defineNuxtPlugin((nuxtApp) => { * host handling end */ + config.route = config.route.includes('%') ? decodeURI(config.route): config.route; + const urlSearchParams = new URLSearchParams({ appHost, navContext: process.server,