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