mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Use cf-ray as index
This commit is contained in:
parent
227ea930b2
commit
b8ed88ac9a
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ const writeDataPoint = (event: FetchEvent, language: string | undefined, nsfw: b
|
||||||
],
|
],
|
||||||
doubles: [
|
doubles: [
|
||||||
nsfw ? 1 : 0 /* NSFW media = 1, No NSFW Media = 0 */
|
nsfw ? 1 : 0 /* NSFW media = 1, No NSFW Media = 0 */
|
||||||
|
],
|
||||||
|
indexes: [
|
||||||
|
event.request.headers.get('cf-ray') ?? '', /* CF Ray */
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue