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: {