Fix log file output on page

This commit is contained in:
amcmanu3 2024-01-12 18:33:21 -05:00
parent 1d32afa09d
commit 90806b613c

View File

@ -192,7 +192,7 @@
const token = getCookie("_xsrf")
let colors = true;
if (!$("#stop_scroll").is(':checked')) {
let res = await fetch(`/api/v2/servers/${serverId}/logs?colors=${colors}`, {
let res = await fetch(`/api/v2/servers/${serverId}/logs?colors=${colors}&file=true`, {
method: 'GET',
headers: {
'X-XSRFToken': token