mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
9 lines
307 B
TypeScript
9 lines
307 B
TypeScript
/* eslint-disable turbo/no-undeclared-env-vars */
|
|
import { Redis } from '@upstash/redis';
|
|
|
|
// !: We're null coalescing here because we don't want local builds to fail.
|
|
export const redis = new Redis({
|
|
url: process.env.NEXT_PRIVATE_REDIS_URL ?? '',
|
|
token: process.env.NEXT_PRIVATE_REDIS_TOKEN ?? '',
|
|
});
|