This commit is contained in:
Professional 2025-05-26 00:03:58 +07:00
parent 398fe61565
commit a5a01c02fa
2 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,7 @@ const routes = [
];
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
history: createWebHistory('/'),
routes,
});

View File

@ -5,6 +5,8 @@ import { resolve } from 'path' // Добавляем импорт модуля p
export default defineConfig({
// Базовый путь для всех относительных URL
base: '/',
plugins: [
vue(),
VitePWA({