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

Using regex match instead of endsWith for better browser compatibility

pull/30/head
Mark McDowall 12 years ago
parent e10a5ca213
commit 94f64567c6

@ -64,7 +64,7 @@ define(
});
Handlebars.registerHelper('titleWithYear', function () {
if (this.title.endsWith(' ({0})'.format(this.year))) {
if (this.title.match(/\s\(\d{4}\)$/)) {
return this.title;
}

Loading…
Cancel
Save