Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/html/xui/index.html4
1 files 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 @@
</a-form-item>
<a-form-item style="float: right;">
<a-button type="primary" icon="download"
- :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs)" download="x-ui.log">
+ :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log">
</a-button>
</a-form-item>
</a-form>
@@ -457,7 +457,7 @@
const logModal = {
visible: false,
- logs: '',
+ logs: [],
rows: 20,
level: 'info',
syslog: false,