new status.json-link (also used by spaceapi already

This commit is contained in:
Bandie 2021-02-02 16:30:00 +01:00
parent d21cd56f87
commit 6ff5ac884e
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

View File

@ -32,7 +32,7 @@
</ul> </ul>
<!--<ul class="nav navbar-nav navbar-right"> <!--<ul class="nav navbar-nav navbar-right">
<script> <script>
$.getJSON("https://status.chaospott.de/api/").done(function (data) { $.getJSON("https://status.chaospott.de/status.json").done(function (data) {
if (data.state.open) { if (data.state.open) {
$("#status_open").css("display", "block"); $("#status_open").css("display", "block");
$("#status_bar").css("borderColor", "#29A900"); $("#status_bar").css("borderColor", "#29A900");