mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix log file output on page
This commit is contained in:
parent
1d32afa09d
commit
90806b613c
@ -192,7 +192,7 @@
|
|||||||
const token = getCookie("_xsrf")
|
const token = getCookie("_xsrf")
|
||||||
let colors = true;
|
let colors = true;
|
||||||
if (!$("#stop_scroll").is(':checked')) {
|
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',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
'X-XSRFToken': token
|
'X-XSRFToken': token
|
||||||
|
Loading…
Reference in New Issue
Block a user