From 23b59e35b4467a60ec48469387f7c85f42721b08 Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 23 Sep 2024 02:49:15 +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 294af33..88940e5 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 c8512a9..be2928c 100644 --- a/public/main.js +++ b/public/main.js @@ -116,7 +116,7 @@ document.addEventListener('DOMContentLoaded', function () { var res = await result.blob(), a = document.createElement('a') a.download = 'fediblock-index.json.gz' - a.href = URL.createObjectURL([res]) + a.href = URL.createObjectURL(res) a.type = 'application/x-gzip' a.target = '_blank' a.dispatchEvent(new MouseEvent('click'))