diff --git a/public/index.html b/public/index.html
index 4c9278e..294af33 100644
--- a/public/index.html
+++ b/public/index.html
@@ -54,7 +54,7 @@
Total scanned 0 instances with 0 peers - 0 created - 0
updated
- matrix off - download json off - download json index -
by ale
©2024
diff --git a/public/main.js b/public/main.js
index 06ba8bc..f661134 100644
--- a/public/main.js
+++ b/public/main.js
@@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', function () {
a.dispatchEvent(new MouseEvent('click'))
})
})
- document.getElementById('download').addEventListener('click', function (event) {
+ document.getElementById('download_index').addEventListener('click', function (event) {
loading()
ac = new AbortController()
fetch('/api/donwload_index', { signal: ac.signal }).then(async function (result) {