From ce096310fcb70632735ae0c7d15f348b3fdf1994 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 27 Mar 2026 15:43:41 -0700 Subject: [PATCH] chore: update kv env variables --- .env.example | 6 +++--- nuxt.config.ts | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index d1f76e0..6ae7bb8 100644 --- a/.env.example +++ b/.env.example @@ -12,6 +12,6 @@ NUXT_DISCORD_BOT_TOKEN= NUXT_PUBLIC_APP_URL=http://localhost:3000 NUXT_PUBLIC_DISCORD_CLIENT_ID= -# Upstash Redis (production only — dev uses fs driver) -UPSTASH_REDIS_REST_URL= -UPSTASH_REDIS_REST_TOKEN= +# Redis KV store (production only — dev uses fs driver) +KV_REST_API_URL= +KV_REST_API_TOKEN= diff --git a/nuxt.config.ts b/nuxt.config.ts index 07a5d50..e718453 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -63,6 +63,8 @@ export default defineNuxtConfig({ kv: { driver: 'upstash', base: 'discal', + url: process.env.KV_REST_API_URL, + token: process.env.KV_REST_API_TOKEN, }, }, devStorage: { -- knotmirror 0.0.1