Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/93b5ea20ca590996f6dc90713a76800180d0621c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
10 deletions
@ -46,7 +46,10 @@ radarrRoutes.post<
url : RadarrAPI.buildUrl ( req . body , '/api/v3' ) ,
} ) ;
const { urlBase } = await radarr . getSystemStatus ( ) ;
const urlBase = await radarr
. getSystemStatus ( )
. then ( ( value ) = > value . urlBase )
. catch ( ( ) = > req . body . baseUrl ) ;
const profiles = await radarr . getProfiles ( ) ;
const folders = await radarr . getRootFolders ( ) ;
const tags = await radarr . getTags ( ) ;
@ -58,10 +61,7 @@ radarrRoutes.post<
path : folder.path ,
} ) ) ,
tags ,
urlBase :
req . body . baseUrl && req . body . baseUrl !== '/'
? req . body . baseUrl
: urlBase ,
urlBase ,
} ) ;
} catch ( e ) {
logger . error ( 'Failed to test Radarr' , {
@ -42,7 +42,10 @@ sonarrRoutes.post('/test', async (req, res, next) => {
url : SonarrAPI.buildUrl ( req . body , '/api/v3' ) ,
} ) ;
const { urlBase } = await sonarr . getSystemStatus ( ) ;
const urlBase = await sonarr
. getSystemStatus ( )
. then ( ( value ) = > value . urlBase )
. catch ( ( ) = > req . body . baseUrl ) ;
const profiles = await sonarr . getProfiles ( ) ;
const folders = await sonarr . getRootFolders ( ) ;
const languageProfiles = await sonarr . getLanguageProfiles ( ) ;
@ -56,10 +59,7 @@ sonarrRoutes.post('/test', async (req, res, next) => {
} ) ) ,
languageProfiles ,
tags ,
urlBase :
req . body . baseUrl && req . body . baseUrl !== '/'
? req . body . baseUrl
: urlBase ,
urlBase ,
} ) ;
} catch ( e ) {
logger . error ( 'Failed to test Sonarr' , {