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 mainTrackUrl = 'https://fahrplan.events.ccc.de/rc3/2020/Fahrplan/schedule.json';
const assemblyUrl = 'https://pretalx.rc3.studio/rc3-channels-2020/schedule/export/schedule.json';
const scheduleUrl = 'https://schedule2.broken.equipment/everything.schedule.json';
let textEl;
let headline = '¯\\_(ツ)_/¯';
@ -16,14 +14,8 @@
if (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 days = data.schedule.conference.days;
const today = days.find(day => {