fix: 修正用户端热更新连接配置
This commit is contained in:
@@ -7,10 +7,6 @@ export default defineConfig({
|
|||||||
allowedHosts: ["qa.huiyushuyuan.cn"],
|
allowedHosts: ["qa.huiyushuyuan.cn"],
|
||||||
port: 5173,
|
port: 5173,
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
hmr: {
|
|
||||||
protocol: "ws",
|
|
||||||
clientPort: 80,
|
|
||||||
},
|
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: "http://backend:8100",
|
target: "http://backend:8100",
|
||||||
|
|||||||
Reference in New Issue
Block a user