diff --git a/resources/views/admin/nodes/index.blade.php b/resources/views/admin/nodes/index.blade.php
index ea3752433..26a9fe98d 100644
--- a/resources/views/admin/nodes/index.blade.php
+++ b/resources/views/admin/nodes/index.blade.php
@@ -51,7 +51,7 @@
@foreach ($nodes as $node)
- |
+ |
{{ $node->name }} |
{{ $node->a_locationName }} |
{{ $node->memory }} MB |
@@ -76,7 +76,7 @@ $(document).ready(function () {
type: 'GET',
url: $(element).data('location'),
headers: {
- 'X-Access-Token': '{{ $node->daemonSecret }}'
+ 'X-Access-Token': $(element).data('secret'),
},
timeout: 5000
}).done(function (data) {