Skip to content

Commit

Permalink
Remove unused env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorsharp committed Jun 17, 2024
1 parent 923c932 commit 0b58e3c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ export const env = createEnv({
*/
server: {
NODE_ENV: z.enum(["development", "test", "production"]),
UPSTASH_REDIS_REST_URL: z.string().url().optional(),
UPSTASH_REDIS_REST_TOKEN: z.string().optional(),
TWITCH_API_CLIENT_ID: z.string(),
TWITCH_API_SECRET: z.string(),
},
Expand All @@ -29,8 +27,6 @@ export const env = createEnv({
*/
runtimeEnv: {
NODE_ENV: process.env.NODE_ENV,
UPSTASH_REDIS_REST_URL: process.env.UPSTASH_REDIS_REST_URL,
UPSTASH_REDIS_REST_TOKEN: process.env.UPSTASH_REDIS_REST_TOKEN,
TWITCH_API_CLIENT_ID: process.env.TWITCH_API_CLIENT_ID,
TWITCH_API_SECRET: process.env.TWITCH_API_SECRET,
// NEXT_PUBLIC_CLIENTVAR: process.env.NEXT_PUBLIC_CLIENTVAR,
Expand Down

0 comments on commit 0b58e3c

Please sign in to comment.