From d08ac545205445c43a577972bdba7489a7a6e748 Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Wed, 23 Dec 2020 12:23:27 +0000 Subject: [PATCH] use selfhosted tweets/fahrplan json --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index cb658cb..1f60c99 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ var tweets = {}; /* === EXTERNAL DATA === */ function update_tweets() { var request = new XMLHttpRequest(); - request.open('GET', 'https://api.oct.re/tweets-rc3.json', true); + request.open('GET', 'tweets-rc3.json', true); request.onload = function() { if (this.status >= 200 && this.status < 400) { tweets = JSON.parse(this.response); @@ -61,7 +61,7 @@ function update_tweets() { function update_fahrplan() { var request = new XMLHttpRequest(); - request.open('GET', 'https://api.oct.re/fahrplan.json', true); + request.open('GET', 'fahrplan.json', true); request.onload = function() { if (this.status >= 200 && this.status < 400) { fahrplan = JSON.parse(this.response);