node-red-contrib-example-scada 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
package/scada.js
CHANGED
|
@@ -156,7 +156,7 @@ module.exports = function(RED) {
|
|
|
156
156
|
|
|
157
157
|
// 设置 API 请求的 URL
|
|
158
158
|
var broker = RED.nodes.getNode(config.broker);
|
|
159
|
-
var
|
|
159
|
+
var url = "http://" + broker.host + ":" + broker.port + '/api/ScadaSystem/GetSystemInfo';
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
// 使用 axios 发送 GET 请求
|