Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/78af1a3e6d00a5645a05e7bf3cf56a59439b6cc9 You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix(services): include radarr/sonarr baseUrl when adding media

pull/277/head
sct 4 years ago
parent 67a8f7fbfe
commit 78af1a3e6d

@ -251,7 +251,7 @@ export class MediaRequest {
apiKey: radarrSettings.apiKey,
url: `${radarrSettings.useSsl ? 'https' : 'http'}://${
radarrSettings.hostname
}:${radarrSettings.port}/api`,
}:${radarrSettings.port}${radarrSettings.baseUrl ?? ''}/api`,
});
const movie = await tmdb.getMovie({ movieId: this.media.tmdbId });
@ -320,7 +320,7 @@ export class MediaRequest {
apiKey: sonarrSettings.apiKey,
url: `${sonarrSettings.useSsl ? 'https' : 'http'}://${
sonarrSettings.hostname
}:${sonarrSettings.port}/api`,
}:${sonarrSettings.port}${sonarrSettings.baseUrl ?? ''}/api`,
});
const series = await tmdb.getTvShow({ tvId: media.tmdbId });

Loading…
Cancel
Save