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.

Fixed the preset themes issue

pull/1741/head
tidusjar 8 years ago
parent 375236cb98
commit 169b73047a

@ -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.extractData).catch(this.handleError);
return this.httpAuth.get(`${this.url}/themecontent?url=${themeUrl}`).map(this.extractContentData).catch(this.handleError);
}
public getEmailNotificationSettings(): Observable<IEmailNotificationSettings> {

Loading…
Cancel
Save