Skip to content

Commit 6bf0248

Browse files
committed
use api_ws_url for webapp too
1 parent f459121 commit 6bf0248

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

OpenFlow/src/LoginProvider.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ export class LoginProvider {
226226
_url = "wss://" + url.parse(baseurl).host;
227227
}
228228
_url += "/";
229+
if (NoderedUtil.IsNullEmpty(Config.api_ws_url)) {
230+
_url = Config.api_ws_url;
231+
if (!_url.endsWith("/")) _url += "/";
232+
}
229233
const res2 = {
230234
wshost: _url,
231235
wsurl: _url,

OpenFlowNodeRED/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openiap/nodered",
3-
"version": "1.1.118",
3+
"version": "1.1.119",
44
"description": "Simple wrapper around NodeRed, RabbitMQ and MongoDB to support a more scaleable NodeRed implementation.\r Also the \"backend\" for [OpenRPA](https://github.com/skadefro/OpenRPA)",
55
"main": "index.js",
66
"scripts": {

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.118
1+
1.1.119

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openiap/openflow",
3-
"version": "1.1.118",
3+
"version": "1.1.119",
44
"description": "Simple wrapper around NodeRed, RabbitMQ and MongoDB to support a more scaleable NodeRed implementation.\r Also the \"backend\" for [OpenRPA](https://github.com/skadefro/OpenRPA)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)