This commit is contained in:
itqop 2025-02-11 12:24:22 +03:00
parent 0e8cdd0ea8
commit fa0703340a
1 changed files with 2 additions and 2 deletions

View File

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