diff --git a/middleware/redirectLocale.global.ts b/middleware/redirectLocale.global.ts new file mode 100644 index 0000000..08bb273 --- /dev/null +++ b/middleware/redirectLocale.global.ts @@ -0,0 +1,6 @@ +export default defineNuxtRouteMiddleware((to) => { + // No further supported path prefix localization + if (to.path.startsWith("/zh-CN")) { + return navigateTo(to.fullPath.replace("/zh-CN", "")) + } +}) diff --git a/pages/flow/accounts/account-delete.vue b/pages/flow/accounts/deletion.vue similarity index 100% rename from pages/flow/accounts/account-delete.vue rename to pages/flow/accounts/deletion.vue