配置文件

This commit is contained in:
马梓彭 2026-05-07 08:33:22 +08:00
parent 0e9d03e71e
commit 169c621bc4

View File

@ -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出错问题