From f05b1391f04650d00f9a6aaaaf2d1cead499aecf Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Wed, 19 Jun 2024 14:10:45 +0300 Subject: [PATCH] route redicrect --- nuxt.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index fd1c963..03274be 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -16,6 +16,10 @@ export default defineNuxtConfig({ baseUrl: '', }, }, + routeRules: { + '/index.html': { redirect: '/' }, + '/index.php': { redirect: '/' }, +}, vite: { assetsInclude: ['**/*.glb', '**/*.gltf'], },