Update for 36c3

This commit is contained in:
Uwe Kamper 2019-12-26 22:27:59 +01:00 committed by GitHub
parent 4d4899457a
commit 5082c1deb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ require('isomorphic-fetch');
module.exports = (router) => {
router.get('/35c3/fahrplan', async (ctx) => {
const res = await fetch('https://fahrplan.events.ccc.de/congress/2018/Fahrplan/schedule.json');
const res = await fetch('https://fahrplan.events.ccc.de/congress/2019/Fahrplan/schedule.json');
ctx.assert((res.status === 200), res.status);
const body = await res.json();
ctx.body = body;