diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index a6df08d7..256a960b 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -298,7 +298,7 @@
+ :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs?.join('\n'))" download="x-ui.log">