This commit is contained in:
itqop 2025-02-11 03:45:21 +03:00
parent 048c3d0240
commit a313ef1988
1 changed files with 3 additions and 4 deletions

View File

@ -54,12 +54,11 @@ export default defineConfig({
'/api': { '/api': {
target: 'http://127.0.0.1:4000', target: 'http://127.0.0.1:4000',
changeOrigin: true, changeOrigin: true,
secure: false,
ws: true ws: true
} }
} },
} allowedHosts: ['localhost', 'todou.net']
, },
resolve: { resolve: {
preserveSymlinks: true // Иногда помогает с проблемами путей в Vite preserveSymlinks: true // Иногда помогает с проблемами путей в Vite
} }