From eb36faced9d33720fa0ba1b2b218ecfdb7f9a9f5 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sat, 24 Feb 2024 00:20:40 +0100 Subject: [PATCH] [log] fix download format --- web/html/xui/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 05cb6b6f..9c484cbf 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -311,7 +311,7 @@ + :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log"> @@ -440,7 +440,7 @@ const logModal = { visible: false, - logs: '', + logs: [], rows: 20, level: 'info', syslog: false,