From 49d724cf9c142f8cf35a69e8d44481a173745838 Mon Sep 17 00:00:00 2001 From: Agent Date: Sun, 14 Jun 2026 09:09:40 -0400 Subject: [PATCH] fix: add Accept: application/json to terminal execute fetch --- public/assets/js/terminal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/assets/js/terminal.js b/public/assets/js/terminal.js index bbcd415..8f3bfd2 100644 --- a/public/assets/js/terminal.js +++ b/public/assets/js/terminal.js @@ -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(), },