Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/blame/commit/27c7ed1e6de27c4464f4244af317330369f2bb9b/UI/Settings/Indexers/CollectionView.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
'use strict' ;
define ( [ 'app' ,
'marionette' ,
'Settings/Indexers/ItemView' ,
'Settings/Indexers/EditView' ,
'Settings/Indexers/Collection' ] ,
function ( App , Marionette , IndexerItemView , IndexerEditView , IndexerCollection ) {
return Marionette . CompositeView . extend ( {
itemView : IndexerItemView ,
itemViewContainer : '#x-indexers' ,
template : 'Settings/Indexers/CollectionTemplate' ,
events : {
'click .x-add' : 'openSchemaModal'
} ,
openSchemaModal : function ( ) {
var self = this ;
//TODO: Is there a better way to deal with changing URLs?
var schemaCollection = new IndexerCollection ( ) ;
schemaCollection . url = '/api/indexer/schema' ;
schemaCollection . fetch ( {
success : function ( collection ) {
collection . url = '/api/indexer' ;
var model = _ . first ( collection . models ) ;
model . set ( 'id' , undefined ) ;
model . set ( 'name' , '' ) ;
var view = new IndexerEditView ( { model : model , indexerCollection : self . collection } ) ;
App . modalRegion . show ( view ) ;
}
} ) ;
}
} ) ;
} ) ;