Update for 36c3
This commit is contained in:
parent
4d4899457a
commit
5082c1deb8
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require('isomorphic-fetch');
|
||||||
|
|
||||||
module.exports = (router) => {
|
module.exports = (router) => {
|
||||||
router.get('/35c3/fahrplan', async (ctx) => {
|
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);
|
ctx.assert((res.status === 200), res.status);
|
||||||
const body = await res.json();
|
const body = await res.json();
|
||||||
ctx.body = body;
|
ctx.body = body;
|
||||||
|
|
Loading…
Reference in a new issue