log delle chiamate signalr

This commit is contained in:
=
2020-05-19 15:13:57 +02:00
parent 180334822b
commit bbfe28edc7
3 changed files with 5 additions and 2 deletions
@@ -2,6 +2,6 @@
"env": "development",
"api": {
"enabled": true,
"apiServerUrl": "http://localhost:9000"
"apiServerUrl": "http://seriate.steamware.net:9000/"
}
}
+1 -1
View File
@@ -2,6 +2,6 @@
"env": "development",
"api": {
"enabled": false,
"apiServerUrl": "https://localhost:9000"
"apiServerUrl": "http://seriate.steamware.net:9000/"
}
}
@@ -66,6 +66,9 @@ export class Hub {
this._hub = $.connection.ncHub;
try { $.connection.hub.logging = true; } catch{ }
try { $.connection.ncHub.logging = true; } catch{ }
// Registro le callback;
this._hub.client.alarms = this.manageAlarmsCallbacks;
this._hub.client.powerOn = this.managePowerCallbacks;