bauchbinde update
continuous-integration/drone/push Build is passing Details

This commit is contained in:
xAndy 2020-12-25 16:04:10 +01:00
parent 5048e21a6b
commit 3e6daae7c0
1 changed files with 2 additions and 10 deletions

View File

@ -1,7 +1,5 @@
(() => { (() => {
const mainTrackRooms = ['rc1', 'rc2', 'chaosstudio-hamburg', 'restrealitaet']; const scheduleUrl = 'https://schedule2.broken.equipment/everything.schedule.json';
const mainTrackUrl = 'https://fahrplan.events.ccc.de/rc3/2020/Fahrplan/schedule.json';
const assemblyUrl = 'https://pretalx.rc3.studio/rc3-channels-2020/schedule/export/schedule.json';
let textEl; let textEl;
let headline = '¯\\_(ツ)_/¯'; let headline = '¯\\_(ツ)_/¯';
@ -16,14 +14,8 @@
if (time) { if (time) {
now = Date.parse(time) now = Date.parse(time)
} }
let url;
if (mainTrackRooms.includes(roomName)) {
url = mainTrackUrl;
} else {
url = assemblyUrl;
}
const response = await fetch(url); const response = await fetch(scheduleUrl);
const data = await response.json(); const data = await response.json();
const days = data.schedule.conference.days; const days = data.schedule.conference.days;
const today = days.find(day => { const today = days.find(day => {