配置文件
This commit is contained in:
parent
0e9d03e71e
commit
169c621bc4
@ -30,8 +30,8 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
|
|||||||
hmr: true,
|
hmr: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://localhost:9996',
|
// target: 'http://localhost:9996',
|
||||||
// target: 'http://8.153.108.90:9996',
|
target: 'http://8.153.108.90:9996',
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false, //解决target使用https出错问题
|
secure: false, //解决target使用https出错问题
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user