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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user