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