exit after reading from url when ignoring posted html

main
Lee Hanken 2022-12-21 23:11:15 +00:00
parent 34c8548d0c
commit 3a1cf7853f
1 changed files with 1 additions and 0 deletions

View File

@ -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");