diff --git a/modules/web_viewer/templates/base.html b/modules/web_viewer/templates/base.html
index f4c7eb7..94157d3 100644
--- a/modules/web_viewer/templates/base.html
+++ b/modules/web_viewer/templates/base.html
@@ -488,7 +488,7 @@
btn.innerHTML = 'Restarting\u2026';
fetch('/api/admin/zombie-recover', {
method: 'POST',
- headers: {'Content-Type': 'application/json'}
+ headers: {'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest'}
})
.then(function(r) { return r.json(); })
.then(function(data) {
@@ -544,7 +544,7 @@
btn.innerHTML = 'Clearing\u2026';
fetch('/api/admin/radio-offline-clear', {
method: 'POST',
- headers: {'Content-Type': 'application/json'}
+ headers: {'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest'}
})
.then(function(r) { return r.json(); })
.then(function(data) {