fixz
This commit is contained in:
parent
0e8cdd0ea8
commit
fa0703340a
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue