Proxy failed
tiankejun opened this issue · 0 comments
tiankejun commented
node version: v16.20.0
Now I have some static files on my server (server address : 192.168.10.XXX:8080 ) eg: test1.jpg , test2.jpg, ...
I use vite and configure proxy:
eg:
proxy: {
'/Cesium': {
target: 'http://192.168.10.XXX:8080/',
changeOrigin: true,
configure: (proxy, options) => {
},
}
}
Access successful:
Result : a part of files access failed
Now I don't know how to solve it!
Please give me some hints!
Thanks!