From e8a85ce0e50c5ddcc4da1159549cc47c594af473 Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 23 Sep 2024 02:16:39 +0200 Subject: [PATCH] download index --- public/index.html | 2 +- public/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {