fix status link

This commit is contained in:
gidsi 2018-06-16 03:47:03 +02:00
parent e605afe3c8
commit f395eefb2a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
</ul>
<ul class="nav navbar-nav navbar-right">
<script>
$.getJSON("https://newstatus.chaospott.de/api").done(function(data) {
$.getJSON("https://status.chaospott.de/api/").done(function(data) {
if(!data.sensors.door_locked[0].value || !data.sensors.door_locked[1].value ) {
$( "#status_open" ).css( "display", "block" );
$( "#status_bar" ).css( "borderColor", "#5CB85C" );