bauchbinde update
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5048e21a6b
commit
3e6daae7c0
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue