From 3a1cf7853fe19a14a407692ab9a14f34649793c8 Mon Sep 17 00:00:00 2001 From: Lee Hanken Date: Wed, 21 Dec 2022 23:11:15 +0000 Subject: [PATCH] exit after reading from url when ignoring posted html --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 84a7ea4..717a823 100755 --- a/index.js +++ b/index.js @@ -67,6 +67,7 @@ app.post('/', function(req, res) { } if (readers.ignore_post(url)) { read_url(url, res, inline_title, ignore_links); + return; } if (!html) { res.status(400).send("Please provide a POST parameter called html");