Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/cca747c0fe379437433a8fc061b3c253020f9084
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
5 deletions
@ -60,11 +60,16 @@ export default function Integration({ config, params, setEvents, hideErrors, tim
const recurrenceOptions = event ? . recurrenceRule ? . origOptions ;
if ( recurrenceOptions && Object . keys ( recurrenceOptions ) . length !== 0 ) {
const rule = new RRule ( recurrenceOptions ) ;
const recurringEvents = rule . between ( startDate . toJSDate ( ) , endDate . toJSDate ( ) ) ;
recurringEvents . forEach ( ( date , i ) => eventToAdd ( date , i , "recurring" ) ) ;
return ;
try {
const rule = new RRule ( recurrenceOptions ) ;
const recurringEvents = rule . between ( startDate . toJSDate ( ) , endDate . toJSDate ( ) ) ;
recurringEvents . forEach ( ( date , i ) => eventToAdd ( date , i , "recurring" ) ) ;
return ;
} catch ( e ) {
/ / e s l i n t - d i s a b l e - n e x t - l i n e n o - c o n s o l e
console . error ( "Unable to parse recurring events from iCal: %s" , e ) ;
}
}
event . matchingDates . forEach ( ( date , i ) => eventToAdd ( date , i , "single" ) ) ;