This commit is contained in:
itqop 2025-02-11 12:20:50 +03:00
parent 64501606c0
commit 0e8cdd0ea8
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
});