Properly display node status with newer daemon versions
This commit is contained in:
parent
1ad715f1a3
commit
d93f88f471
|
@ -78,6 +78,9 @@ function pingNodes() {
|
|||
$.ajax({
|
||||
type: 'GET',
|
||||
url: $(element).data('location'),
|
||||
headers: {
|
||||
'X-Access-Token': '{{ $node->daemonSecret }}'
|
||||
},
|
||||
timeout: 5000
|
||||
}).done(function (data) {
|
||||
$(element).removeClass('text-muted').find('i').removeClass().addClass('fa fa-fw fa-heartbeat faa-pulse animated').css('color', '#50af51');
|
||||
|
|
Loading…
Reference in New Issue