We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 797e419 commit 025d221Copy full SHA for 025d221
1 file changed
src/tracking.ts
@@ -34,6 +34,11 @@ const plugin = async (fastify: FastifyInstance): Promise<void> => {
34
35
fastify.addHook('preHandler', async (req, res) => {
36
req.isBot = isBotRequest(req);
37
+
38
+ if (req.url.startsWith('/sitemaps')) {
39
+ return;
40
+ }
41
42
req.sessionId = req.cookies[cookies.session.key];
43
44
const trackingCookie = req.cookies[cookies.tracking.key];
0 commit comments