From c7926d0bc06f2ee712f6850ac58e0e37abc3b898 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 24 Feb 2024 03:02:05 +0330 Subject: [PATCH] [log] fix download format Co-Authored-By: Alireza Ahmadi --- 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 1c3132d6..90c45b85 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -325,7 +325,7 @@ + :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log"> @@ -457,7 +457,7 @@ const logModal = { visible: false, - logs: '', + logs: [], rows: 20, level: 'info', syslog: false,