Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/8e89847f305ebbea36942fad1ad96088979ac919/UI/Commands/CommandController.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
"use strict";
|
|
define(['app'], function () {
|
|
|
|
NzbDrone.Commands.Execute = function (name) {
|
|
return $.ajax({
|
|
type: 'POST',
|
|
url : NzbDrone.Constants.ApiRoot + '/command',
|
|
data: JSON.stringify({command: name})
|
|
});
|
|
};
|
|
}); |