Skip to content

Commit d55756c

Browse files
committed
ignore ssl
1 parent 0f8680f commit d55756c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ class Wmswebcontrol extends utils.Adapter {
376376
await got
377377
.get("https://devicecloudservice.prod.devicecloud.warema.de/api/v1.0/devices", {
378378
http2: true,
379+
https: {
380+
rejectUnauthorized: false,
381+
},
379382
headers: {
380383
Accept: "*/*",
381384
"accept-encoding": "gzip, deflate, br",
@@ -650,6 +653,9 @@ class Wmswebcontrol extends utils.Adapter {
650653
return await got
651654
.post(url, {
652655
http2: true,
656+
https: {
657+
rejectUnauthorized: false,
658+
},
653659
headers: {
654660
accept: "*/*",
655661
"content-type": "application/json",

0 commit comments

Comments
 (0)