Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/b3a20e9e0b7bd2b531cd5604c85a2810b7697410
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
17 additions and
25 deletions
@ -17,8 +17,8 @@ import ModalFooter from 'Components/Modal/ModalFooter';
function getUrls ( state ) {
const {
unmonitored ,
p remieresOnly ,
asAllDay ,
p astDays ,
futureDays ,
tags
} = state ;
@ -28,19 +28,11 @@ function getUrls(state) {
icalUrl += 'unmonitored=true&' ;
}
if ( premieresOnly ) {
icalUrl += 'premieresOnly=true&' ;
}
if ( asAllDay ) {
icalUrl += 'asAllDay=true&' ;
}
if ( tags . length ) {
icalUrl += ` tags= ${ tags . toString ( ) } & ` ;
}
icalUrl += ` apikey=${ window . Lidarr . apiKey } ` ;
icalUrl += ` pastDays= ${ pastDays } &futureDays= ${ futureDays } &apikey= ${ window . Lidarr . apiKey } ` ;
const iCalHttpUrl = ` ${ window . location . protocol } // ${ icalUrl } ` ;
const iCalWebCalUrl = ` webcal:// ${ icalUrl } ` ;
@ -61,8 +53,8 @@ class CalendarLinkModalContent extends Component {
const defaultState = {
unmonitored : false ,
p remieresOnly: false ,
asAllDay: false ,
p astDays: 7 ,
futureDays: 28 ,
tags : [ ]
} ;
@ -105,8 +97,8 @@ class CalendarLinkModalContent extends Component {
const {
unmonitored ,
p remieresOnly ,
asAllDay ,
p astDays ,
futureDays ,
tags ,
iCalHttpUrl ,
iCalWebCalUrl
@ -133,25 +125,25 @@ class CalendarLinkModalContent extends Component {
< / F o r m G r o u p >
< FormGroup >
< FormLabel > Season Premieres Only < / F o r m L a b e l >
< FormLabel > Past Days < / F o r m L a b e l >
< FormInputGroup
type = { inputTypes . CHECK }
name = "p remieresOnly "
value = { p remieresOnly }
helpText = " Only the first album from an artist will be in the feed "
type = { inputTypes . NUMBER }
name = "p astDays "
value = { p astDays }
helpText = " Days for iCal feed to look into the past "
onChange = { this . onInputChange }
/ >
< / F o r m G r o u p >
< FormGroup >
< FormLabel > Show as All - Day Event s< / F o r m L a b e l >
< FormLabel > Future Day s< / F o r m L a b e l >
< FormInputGroup
type = { inputTypes . CHECK }
name = " asAllDay "
value = { asAllDay }
helpText = " Events will appear as all-day events in your calendar "
type = { inputTypes . NUMBER }
name = " futureDays "
value = { futureDays }
helpText = " Days for iCal feed to look into the future "
onChange = { this . onInputChange }
/ >
< / F o r m G r o u p >