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 %>