download index
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
ale 2024-09-23 02:16:39 +02:00
parent 14741055e5
commit e8a85ce0e5
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
Total scanned <span id="instances">0</span> instances with <span id="peers">0</span> peers - <span Total scanned <span id="instances">0</span> instances with <span id="peers">0</span> peers - <span
id="created">0</span> created - <span id="updated">0</span> id="created">0</span> created - <span id="updated">0</span>
updated<br /> updated<br />
matrix <a id="matrix" href="/?matrix">off</a> - download json <a id="download" download matrix <a id="matrix" href="/?matrix">off</a> - download json <a id="download_index" download
target="_blank">index</a> - target="_blank">index</a> -
by <a href="https://about.manalejandro.com" target="_blank">ale</a> by <a href="https://about.manalejandro.com" target="_blank">ale</a>
<s>&copy;</s>2024 <s>&copy;</s>2024

View File

@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', function () {
a.dispatchEvent(new MouseEvent('click')) a.dispatchEvent(new MouseEvent('click'))
}) })
}) })
document.getElementById('download').addEventListener('click', function (event) { document.getElementById('download_index').addEventListener('click', function (event) {
loading() loading()
ac = new AbortController() ac = new AbortController()
fetch('/api/donwload_index', { signal: ac.signal }).then(async function (result) { fetch('/api/donwload_index', { signal: ac.signal }).then(async function (result) {