Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/169b73047a3548068b5d5311577cbbd20a6de8be
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
9 additions and
1 deletions
@ -55,6 +55,14 @@ export class ServiceAuthHelpers {
}
}
protected extractContentData ( res : Response ) {
if ( res . text ( ) ) {
return res . text ( ) ;
} else {
return "" ;
}
}
protected handleError ( error : any ) {
// In a real world app, we might use a remote logging infrastructure
// We'd also dig deeper into the error to get a better message
@ -129,7 +129,7 @@ export class SettingsService extends ServiceAuthHelpers {
}
public getThemeContent ( themeUrl : string ) : Observable < string > {
return this . httpAuth . get ( ` ${ this . url } /themecontent?url= ${ themeUrl } ` ) . map ( this . extract Data) . catch ( this . handleError ) ;
return this . httpAuth . get ( ` ${ this . url } /themecontent?url= ${ themeUrl } ` ) . map ( this . extract Content Data) . catch ( this . handleError ) ;
}
public getEmailNotificationSettings ( ) : Observable < IEmailNotificationSettings > {