@dargmuesli/nuxt-vio 13.1.7 → 13.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/server/utils/timezone.ts +1 -1
package/package.json
CHANGED
package/server/utils/timezone.ts
CHANGED
@@ -12,7 +12,7 @@ export const getTimezoneServer = async (event: H3Event) => {
|
|
12
12
|
|
13
13
|
if (timezoneByCookie) return timezoneByCookie
|
14
14
|
|
15
|
-
const ip = event
|
15
|
+
const ip = getRequestIP(event, { xForwardedFor: true })
|
16
16
|
|
17
17
|
console.log(`X-Real-IP: ${ip}`) // TODO: remove once traefik setup is clear
|
18
18
|
|