fix: add Accept: application/json to terminal execute fetch

This commit is contained in:
2026-06-14 09:09:40 -04:00
parent 7233c224ce
commit 49d724cf9c

View File

@@ -27,6 +27,7 @@ function executeCommand() {
fetch('/terminal/' + serverId + '/execute', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/x-www-form-urlencoded',
'X-CSRF-Token': getCsrfToken(),
},