Skip to content

Commit

Permalink
CRITICAL: Fix uvid on target-lookup
Browse files Browse the repository at this point in the history
Was wrongly use req.locals.uvid. Should be res.locals.uvid
  • Loading branch information
kucingbasah737 committed Dec 5, 2023
1 parent b8f7ce2 commit 336652a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webserver/target-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = async (req, res, next) => {
req.get('user-agent'),
req.get('referer'),
req.headers,
req.locals.uvid || null,
res.locals.uvid || null,
);

await incrementHit(xid, target.uuid, hitUuid);
Expand Down

0 comments on commit 336652a

Please sign in to comment.