1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Upgraded to webpack 4

This commit is contained in:
Mark McDowall
2019-03-03 11:29:12 -08:00
parent ca32434535
commit 08990dd58a
198 changed files with 5697 additions and 2210 deletions
+3 -1
View File
@@ -94,7 +94,9 @@ class SignalRConnector extends Component {
componentDidMount() {
console.log('Starting signalR');
this.signalRconnection = $.connection('/signalr', { apiKey: window.Sonarr.apiKey });
const url = `${window.Sonarr.urlBase}/signalr`;
this.signalRconnection = $.connection(url, { apiKey: window.Sonarr.apiKey });
this.signalRconnection.stateChanged(this.onStateChanged);
this.signalRconnection.received(this.onReceived);