mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-27 01:36:25 -04:00
have hit counter start at zero during suspense, then count up
This commit is contained in:
8 files changed
+40
-5
No files matched your search
@@ -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