From a5a01c02fa29c51aaa1f9d83d398da3528c7bde3 Mon Sep 17 00:00:00 2001 From: Professional Date: Mon, 26 May 2025 00:03:58 +0700 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- vite.config.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 1197d6e..c9811df 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -103,7 +103,7 @@ const routes = [ ]; const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHistory('/'), routes, }); diff --git a/vite.config.js b/vite.config.js index 64d494c..a134c8c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,6 +5,8 @@ import { resolve } from 'path' // Добавляем импорт модуля p export default defineConfig({ + // Базовый путь для всех относительных URL + base: '/', plugins: [ vue(), VitePWA({