svelte-claps
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -8,3 +8,4 @@ import { Redis } from '@upstash/redis'; | ||
const key = event.url.searchParams.get('key'); | ||
const RAW_IP = getIP(event.request); | ||
console.log(event.clientAddress); | ||
const RAW_IP = event.clientAddress; | ||
const KEY = `CLAP:${key}`; | ||
@@ -11,0 +12,0 @@ const HASH_IP = await generateHash(RAW_IP); |
{ | ||
"name": "svelte-claps", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "@sveltejs/adapter-auto": "next", |
20594
213