Remove obsolete log
This commit is contained in:
parent
625f179a91
commit
dff3827144
2 changed files with 1 additions and 2 deletions
|
@ -109,7 +109,7 @@ export class Server {
|
|||
}
|
||||
const extraHeaders = handler.addHeaders ?? {}
|
||||
res.writeHead(200, { "Content-Type": handler.mimetype, ...extraHeaders })
|
||||
res.write(result)
|
||||
res.write(""+result)
|
||||
res.end()
|
||||
} catch (e) {
|
||||
console.error("Could not handle request:", e)
|
||||
|
|
|
@ -71,7 +71,6 @@ class ServerLdScrape extends Script {
|
|||
console.log("URL", url)
|
||||
if (cache[url] !== undefined) {
|
||||
const { date, contents } = cache[url]
|
||||
console.log(">>>", date, contents)
|
||||
// In seconds
|
||||
const tdiff = (new Date().getTime() - (date?.getTime() ?? 0)) / 1000
|
||||
if (tdiff < 31 * 24 * 60 * 60) {
|
||||
|
|
Loading…
Reference in a new issue