Skip to content

Commit

Permalink
Misc. changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dotnaught committed Jun 12, 2022
1 parent 6da8ed6 commit a89b33c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions js/rsslib.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ const getAllFeeds = async (urlList, feedMode, win) => {
entry.mode === feedMode
) {
try {
if (entry.feed == 'https://ekaprdweb01.eurekalert.org/rss/technology_engineering.xml') {
parser.options.requestOptions = {
rejectUnauthorized: false,
};
} else {
parser.options.requestOptions = {};
}
// if (entry.feed == 'https://ekaprdweb01.eurekalert.org/rss/technology_engineering.xml') {
// parser.options.requestOptions = {
// rejectUnauthorized: false,
// };
// } else {
// parser.options.requestOptions = {};
// }
parser.options.requestOptions = {};

const rssResult = await parser.parseURL(entry.feed);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rssputin",
"productName": "rssputin",
"version": "1.0.7",
"version": "1.0.8",
"description": "An RSS headline aggregator",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit a89b33c

Please sign in to comment.