From cad120af571511a3f13709f0d75cf538ff779128 Mon Sep 17 00:00:00 2001 From: Josh Terrill Date: Thu, 21 Jul 2022 00:56:25 -0700 Subject: [PATCH] updated readme --- README.md | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81e0c29..f6a059e 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ URL: https://reader.dangerous.dev ```bash git clone https://github.com/joshterrill/paywall-reader cd paywall-reader/ +cp .env.example .env npm i npm start ``` @@ -32,4 +33,5 @@ Pull requests would gladly be accepted for adding support for more sites (as lon ### Todo * Fix relative and absolute links in embedded html to point to domain they should be coming from -* Add dom sanitization for incoming HTML \ No newline at end of file +* Add dom sanitization for incoming HTML +* Add checks for source and URL fields on requests to ensure the URL matches the URL in the `news-source-map.json` file \ No newline at end of file diff --git a/package.json b/package.json index 6fea7d3..2630f5f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "express": "^4.18.1", "express-handlebars": "^6.0.6", "marked": "^4.0.18", - "node-fetch": "^2.2.9" + "node-fetch": "2.6.7" }, "devDependencies": { "chai": "^4.3.6",