From 552f075f31c785eb29f5f0585933a30f96a5b065 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Thu, 29 May 2025 04:58:33 -0400 Subject: [PATCH] compromise between fully loading neoboxels content and not loading it all (performance reasons) --- routes/commenter.js | 1 - views/formatted.ejs | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/routes/commenter.js b/routes/commenter.js index 09c4d63..713b8a4 100644 --- a/routes/commenter.js +++ b/routes/commenter.js @@ -40,7 +40,6 @@ router.post('/', async (req, res, next) => { username, id ]); - return; } await db.run('INSERT INTO comment (username, date, content, id) VALUES (?,?,?,?)', [ diff --git a/views/formatted.ejs b/views/formatted.ejs index 9d4e31f..7baad97 100644 --- a/views/formatted.ejs +++ b/views/formatted.ejs @@ -6,10 +6,7 @@ <% } else if (contentN.ext == '!neoboxels') { %> - https://sand.dervland.net/?embed=https://com.dervland.net<%= contentN.path %> - - - + Neoboxels Save <% } else if (['txt','json'].indexOf(contentN.ext) != -1) { %> <%= contentN.href %>