exit after reading from url when ignoring posted html
parent
34c8548d0c
commit
3a1cf7853f
1
index.js
1
index.js
|
@ -67,6 +67,7 @@ app.post('/', function(req, res) {
|
||||||
}
|
}
|
||||||
if (readers.ignore_post(url)) {
|
if (readers.ignore_post(url)) {
|
||||||
read_url(url, res, inline_title, ignore_links);
|
read_url(url, res, inline_title, ignore_links);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (!html) {
|
if (!html) {
|
||||||
res.status(400).send("Please provide a POST parameter called html");
|
res.status(400).send("Please provide a POST parameter called html");
|
||||||
|
|
Loading…
Reference in New Issue