1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-14 19:20:50 -05:00

have hit counter start at zero during suspense, then count up

This commit is contained in:
2025-03-27 10:08:18 -04:00
parent bbf6e9dc66
commit 0080c4925b
8 changed files with 40 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
import { Redis } from "@upstash/redis";
// Initialize Redis
// pulls credentials (prefixed with 'KV_REST_API_') set automatically by Vercel marketplace integration:
// https://github.com/upstash/redis-js/blob/091e0a0949593d74b905f41f7cb409ada16f936f/platforms/nodejs.ts#L184
const redis = Redis.fromEnv();
export default redis;