diff --git a/package.json b/package.json index 8f5640c..05a8727 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "ng serve --proxy-config proxy.config.json --open --port 25647", + "start": "ng serve --proxy-config proxy.config.json --open --port 25647 --host 192.168.1.86", "build": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --prod", "test": "ng test", "lint": "ng lint", diff --git a/proxy.config.json b/proxy.config.json index 06b352a..2c66c9f 100644 --- a/proxy.config.json +++ b/proxy.config.json @@ -1,13 +1,13 @@ { "/api": { - "target": "http://10.156.134.53:8200/", + "target": "http://121.36.37.70:8200/", "测试": "http://121.36.37.70:8200/", "生产": "http://10.156.134.53:8200/", "secure": false, "changeOrigin": true }, "/signalr": { - "target": "http://10.156.134.53:8200/", + "target": "http://121.36.37.70:8200/", "secure": false, "ws": true, "logLevel": "debug" diff --git a/src/app/pages/home/home.component.html b/src/app/pages/home/home.component.html index e64d7a7..c2a0362 100644 --- a/src/app/pages/home/home.component.html +++ b/src/app/pages/home/home.component.html @@ -13,6 +13,9 @@