Enabling caching in tracker script.
This commit is contained in:
@@ -9,7 +9,8 @@ export async function getSession(req) {
|
||||
throw new Error('Invalid request');
|
||||
}
|
||||
|
||||
const { website: website_uuid, hostname, screen, language, cache } = payload;
|
||||
const { website: website_uuid, hostname, screen, language } = payload;
|
||||
const cache = req.headers['x-umami-cache'];
|
||||
|
||||
if (cache) {
|
||||
const result = await parseToken(cache);
|
||||
|
||||
Reference in New Issue
Block a user