Compare commits
2 Commits
1b616bb6d9
...
ebf6a8ffc4
Author | SHA1 | Date | |
---|---|---|---|
ebf6a8ffc4 | |||
6ed02a4740 |
2
index.js
2
index.js
@ -19,7 +19,7 @@ app.get("/https://www.pixiv.net/en/artworks/:id", async function (req, res, next
|
||||
return redirectRandom(req, res);
|
||||
else ipa_lastload_map[req.ip] = req.url;
|
||||
|
||||
console.log(new Date().toLocaleString(), req.ip, req.params.id, req.query);
|
||||
console.log(new Date().toLocaleString(), req.ip, req.params.id, Object.keys(req.query).length ? req.query : '', req.headers['referer'] || '');
|
||||
|
||||
let pages = page_cache[req.params.id];
|
||||
if (!pages) {
|
||||
|
Loading…
Reference in New Issue
Block a user