diff --git a/vite.config.ts b/vite.config.ts index 592e669..7f46f3c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -52,13 +52,13 @@ export default defineConfig({ port: 3000, proxy: { '/api': { - target: 'https://todou.net/api', + target: 'https://todou.net', changeOrigin: true, } }, allowedHosts: ['localhost', 'todou.net'] }, resolve: { - preserveSymlinks: true + preserveSymlinks: true // Иногда помогает с проблемами путей в Vite } });