From 640eb8791607c01e69a8dd837a79b48275517c61 Mon Sep 17 00:00:00 2001 From: Walker Aldridge Date: Tue, 19 Mar 2024 22:53:32 -0500 Subject: [PATCH] Fix Delete Entry, update .envExample --- .envExample | 5 +++-- src/public/secure/files.ejs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.envExample b/.envExample index 772664d..56a017a 100644 --- a/.envExample +++ b/.envExample @@ -8,5 +8,6 @@ FILE_SIZE_UPLOAD_LIMIT_MB=512 BLOCKED_MIME_TYPES=application/x-dosexec,application/x-executable,application/x-hdf5,application/x-java-archive,application/vnd.rar USE_CLOUDFLARE=false MAX_URL_LENGTH=4096 -RECAPTCHA_SITE_KEY=Put-Your-Google-V2-Recaptcha-Site-Key-Here -RECAPTCHA_SECRET_KEY=Put-Your-Google-V2-Recaptcha-Secret-Key-Here \ No newline at end of file +CAPTCHA_SERVICE=reCAPTCHA +CAPTCHA_SITE_KEY=Put-Your-Google-V2-Recaptcha-Site-Key-Here +CAPTCHA_SECRET_KEY=Put-Your-Google-V2-Recaptcha-Secret-Key-Here \ No newline at end of file diff --git a/src/public/secure/files.ejs b/src/public/secure/files.ejs index 8fc59ea..ba976a7 100644 --- a/src/public/secure/files.ejs +++ b/src/public/secure/files.ejs @@ -298,7 +298,7 @@ idArr.push(data.id); }); await deleteEntry(idArr); - dt.rows({ selected: true }).remove().draw(false); + reloadTable(["entries"]); } }, {