Correct fetch
This commit is contained in:
parent
00428b6c3b
commit
1c734bf109
|
@ -13,8 +13,6 @@
|
||||||
<div id="bottom-bar" class="visible">
|
<div id="bottom-bar" class="visible">
|
||||||
<div id="ticker-wrap">
|
<div id="ticker-wrap">
|
||||||
<div id="ticker">
|
<div id="ticker">
|
||||||
<div class="item">Helo 1 sadfsa df sa df as df as dfas d f as df as df sa df a sdf asdf as fd sad f sa df sa fd sa fd sa fd sa df sa df asdf sa df sa df s af</div>
|
|
||||||
<div class="item">Helo 2 s adf safd sad fs df sa f sa f sa df sa df sa df a sd f asd f safd sad f safd asfd sadf a sfd sadf asdf a sdf a sdf sa fd</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +23,7 @@ var tweets = {};
|
||||||
|
|
||||||
function update_tweets() {
|
function update_tweets() {
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open('GET', 'https://api.octycs.eu/tweets-rc3.json', true);
|
request.open('GET', 'https://api.oct.re/tweets-rc3.json', true);
|
||||||
request.onload = function() {
|
request.onload = function() {
|
||||||
if (this.status >= 200 && this.status < 400) {
|
if (this.status >= 200 && this.status < 400) {
|
||||||
tweets = JSON.parse(this.response);
|
tweets = JSON.parse(this.response);
|
||||||
|
|
Loading…
Reference in New Issue