node-red-contrib-remote 2.0.0 → 2.0.1

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.
package/README.md CHANGED
@@ -36,6 +36,9 @@ You will find more information on [www.remote-red-com](https://www.remote-red.co
36
36
 
37
37
  ## Version History
38
38
 
39
+ Version 2.0.1
40
+ - Possible bug on network connection fixed
41
+
39
42
  Version 2.0.0
40
43
  - Enormously faster access to your Node-RED via the Internet
41
44
  - macOS app for Apple Silicon (M-Chips)#
@@ -18,7 +18,13 @@ module.exports = {
18
18
  }
19
19
  }
20
20
  });
21
- return axios.create({ httpsAgent: httpsAgent, timeout: 30000 });
21
+ return axios.create({
22
+ httpsAgent: httpsAgent,
23
+ timeout: 30000,
24
+ headers: {
25
+ 'Content-Type': 'application/json'
26
+ }
27
+ });
22
28
  },
23
29
 
24
30
  testUrlAvailable: async function(url) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-remote",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Remote-RED is an ecosystem to bring remote access, push notification and geofencing to Node-RED. There are also additional functions like directly answer on a notification and homescreen widgets.",
5
5
  "author": "Thorsten Heilmann",
6
6
  "license": "GPL-3.0",