Update index.html

This commit is contained in:
Tara Rostami 2024-02-28 07:10:48 +03:30 committed by GitHub
parent 033a6003c4
commit 63f7c2a162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,7 +313,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>
@ -445,7 +445,7 @@
const logModal = {
visible: false,
logs: '',
logs: [],
rows: 20,
level: 'info',
syslog: false,