Skip to content

Commit

Permalink
Disable NewIndianExpress for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pathikrit committed Mar 4, 2024
1 parent c6474e4 commit d632429
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const env = {
isTest: process.env.NODE_ENV === 'test'
}

if (!env.isProd) {
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" // See https://stackoverflow.com/questions/12180552/
}

const config = {
port: process.env.PORT,

Expand Down
28 changes: 14 additions & 14 deletions db.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ module.exports = {
url: date => `https://cdn.freedomforum.org/dfp/pdf${date.format('D')}/ISR_HA.pdf`,
scale: 1.05,
},
{
id: 'NewIndianExpress',
name: 'New Indian Express',
url: date => `https://cdn.freedomforum.org/dfp/pdf${date.format('D')}/IND_NIE.pdf`,
scale: 1.02,
},
// {
// id: 'NewIndianExpress',
// name: 'New Indian Express',
// url: date => `https://cdn.freedomforum.org/dfp/pdf${date.format('D')}/IND_NIE.pdf`,
// scale: 1.02,
// },
{
id: 'JapanTimes',
name: 'Japan Times',
Expand Down Expand Up @@ -114,10 +114,10 @@ module.exports = {
id: 'USAToday',
displayFor: 10
},
{
id: 'NewIndianExpress',
displayFor: 5
}
// {
// id: 'NewIndianExpress',
// displayFor: 5
// }
]
},
{
Expand All @@ -138,10 +138,10 @@ module.exports = {
id: 'WaPo',
displayFor: 15
},
{
id: 'NewIndianExpress',
displayFor: 45
}
// {
// id: 'NewIndianExpress',
// displayFor: 45
// }
]
},
{
Expand Down

0 comments on commit d632429

Please sign in to comment.