Merge branch 'nuxt-v4' into preview
This commit is contained in:
commit
07c0b3a341
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export const blobsMap = {
|
||||||
blob13: 'browserType',
|
blob13: 'browserType',
|
||||||
blob14: 'device',
|
blob14: 'device',
|
||||||
blob15: 'deviceType',
|
blob15: 'deviceType',
|
||||||
|
blob16: 'COLO',
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export const doublesMap = {
|
export const doublesMap = {
|
||||||
|
|
@ -140,6 +141,7 @@ export function useAccessLog(event: H3Event) {
|
||||||
browserType: uaInfo?.browser?.type,
|
browserType: uaInfo?.browser?.type,
|
||||||
device: uaInfo?.device?.model,
|
device: uaInfo?.device?.model,
|
||||||
deviceType: uaInfo?.device?.type,
|
deviceType: uaInfo?.device?.type,
|
||||||
|
COLO: cf?.colo,
|
||||||
|
|
||||||
// For RealTime Globe
|
// For RealTime Globe
|
||||||
latitude: Number(cf?.latitude || getHeader(event, 'cf-iplatitude') || 0),
|
latitude: Number(cf?.latitude || getHeader(event, 'cf-iplatitude') || 0),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue