Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/493d82b6b066d77609cf66e005fd1f1472b8e011
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
2 deletions
@ -345,7 +345,7 @@ class JobPlexSync {
private log (
message : string ,
level : 'info' | 'error' | 'debug' = 'debug' ,
level : 'info' | 'error' | 'debug' | 'warn' = 'debug' ,
optional? : Record < string , unknown >
) : void {
logger [ level ] ( message , { label : 'Plex Sync' , . . . optional } ) ;
@ -356,11 +356,15 @@ class JobPlexSync {
if ( ! this . running ) {
this . running = true ;
const userRepository = getRepository ( User ) ;
const admin = await userRepository . findOne OrFail ( {
const admin = await userRepository . findOne ( {
select : [ 'id' , 'plexToken' ] ,
order : { id : 'ASC' } ,
} ) ;
if ( ! admin ) {
return this . log ( 'No admin configured. Plex sync skipped.' , 'warn' ) ;
}
this . plexClient = new PlexAPI ( { plexToken : admin.plexToken } ) ;
this . libraries = settings . plex . libraries . filter (