From 78c39120024aebad2c9cb92d41565f8f3f7d4434 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 26 Jan 2024 13:09:13 +0100 Subject: [PATCH] fix downloaded log format --- web/html/xui/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 110ee0cf..51d15d3f 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -297,12 +297,12 @@ + :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log"> {{ i18n "download" }} x-ui.log -
+
0 ? this.formatLogs(logs) : "No Record..."; }, formatLogs(logs) { let formattedLogs = '';