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

34 lines
933 B

'use strict';
define(
[
], function () {
return {
12 years ago
startsWith: function (str, starts) {
if (starts === '') {
return true;
}
if (str == null || starts == null) {
return false;
}
str = String(str);
starts = String(starts);
return str.length >= starts.length && str.slice(0, starts.length) === starts;
},
12 years ago
endsWith: function (str, ends) {
if (ends === '') {
return true;
}
if (str == null || ends == null) {
return false;
}
str = String(str);
ends = String(ends);
return str.length >= ends.length && str.slice(str.length - ends.length) === ends;
}
}
});