homebridge-smartsystem 6.4.4 → 6.4.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-smartsystem",
3
3
  "displayname": "Duotecno Bridge",
4
- "version": "6.4.4",
4
+ "version": "6.4.5",
5
5
  "description": "SmartServer (Proxy Websockets to TCP sockets, Smappee MQTT, Duotecno IP Nodes, Homekit interface)",
6
6
  "main": "index.js",
7
7
  "author": "Johan Coppieters",
package/server/socapp.js CHANGED
@@ -31,6 +31,9 @@ class SocApp extends webapp_1.WebApp {
31
31
  this.system = system;
32
32
  this.support = new support_1.Support(system);
33
33
  }
34
+ needsLogin(context) {
35
+ return false;
36
+ }
34
37
  doRequest(context) {
35
38
  return __awaiter(this, void 0, void 0, function* () {
36
39
  if (context.request === "") {
package/server/socapp.ts CHANGED
@@ -28,6 +28,10 @@ export class SocApp extends WebApp {
28
28
  this.support = new Support(system);
29
29
  }
30
30
 
31
+ needsLogin(context: Context): boolean {
32
+ return false;
33
+ }
34
+
31
35
  async doRequest(context: Context): Promise<HttpResponse> {
32
36
  if (context.request === "") {
33
37
  return this.serveFile(context, "/index.html");