Update default config & better date logic
This commit is contained in:
@@ -1,17 +1,24 @@
|
||||
const pageSize = 20
|
||||
const courtesyWait = 1000
|
||||
const tooLongAgo = 7 * 2 // Days
|
||||
const courtesyWait = 1000 * 1
|
||||
const tooLongAgo = 7 * 4 // Days
|
||||
const linkToIndex = false
|
||||
|
||||
const printDate = date =>
|
||||
(date.getMonth() + 1) + '.' + date.getDate() + '.' + date.getFullYear()
|
||||
|
||||
const feeds = {
|
||||
nitter: [],
|
||||
tumblr: []
|
||||
main: {
|
||||
main: true,
|
||||
nitter: [],
|
||||
tumblr: [
|
||||
'dakedres'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
const sources = {
|
||||
nitter: [
|
||||
"nitter.salastil.com",
|
||||
"nt.ggtyler.dev",
|
||||
"nitter.hyperreal.coffee",
|
||||
"nitter.unixfox.eu",
|
||||
"nitter.poast.org",
|
||||
"nitter.cz",
|
||||
@@ -94,5 +101,7 @@ module.exports = {
|
||||
sources,
|
||||
pageSize,
|
||||
courtesyWait,
|
||||
tooLongAgo
|
||||
}
|
||||
tooLongAgo,
|
||||
linkToIndex,
|
||||
printDate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user