Initial Push

This commit is contained in:
Qstick
2020-10-18 04:18:35 -04:00
parent 09ed2ab889
commit e1020f4107
1845 changed files with 1516 additions and 113975 deletions

View File

@@ -59,7 +59,7 @@ function Logger(minimumLogLevel) {
}
Logger.prototype.cleanse = function(message) {
const apikey = new RegExp(`access_token=${window.Radarr.apiKey}`, 'g');
const apikey = new RegExp(`access_token=${window.Prowlarr.apiKey}`, 'g');
return message.replace(apikey, 'access_token=(removed)');
};
@@ -99,11 +99,11 @@ class SignalRConnector extends Component {
componentDidMount() {
console.log('[signalR] starting');
const url = `${window.Radarr.urlBase}/signalr/messages`;
const url = `${window.Prowlarr.urlBase}/signalr/messages`;
this.connection = new signalR.HubConnectionBuilder()
.configureLogging(new Logger(signalR.LogLevel.Information))
.withUrl(`${url}?access_token=${window.Radarr.apiKey}`)
.withUrl(`${url}?access_token=${window.Prowlarr.apiKey}`)
.withAutomaticReconnect({
nextRetryDelayInMilliseconds: (retryContext) => {
if (retryContext.elapsedMilliseconds > 180000) {