fix: add Accept: application/json to terminal execute fetch
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user