log delle chiamate signalr
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
"env": "development",
|
||||
"api": {
|
||||
"enabled": true,
|
||||
"apiServerUrl": "http://localhost:9000"
|
||||
"apiServerUrl": "http://seriate.steamware.net:9000/"
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user