Skip to content

Commit

Permalink
Remove API key for UploadThing to test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew7li committed Aug 1, 2023
1 parent 2c638e5 commit bc877f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const env = createEnv({
// Add `.min(1) on ID and SECRET if you want to make sure they're not empty
GOOGLE_CLIENT_ID: z.string(),
GOOGLE_CLIENT_SECRET: z.string(),
UPLOADTHING_SECRET: z.string().min(1),
UPLOADTHING_APP_ID: z.string().min(1),
// UPLOADTHING_SECRET: z.string().min(1),
// UPLOADTHING_APP_ID: z.string().min(1),
},

/**
Expand All @@ -45,8 +45,8 @@ export const env = createEnv({
GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,
GOOGLE_CLIENT_SECRET: process.env.GOOGLE_CLIENT_SECRET,
JWT_SECRET: process.env.JWT_SECRET,
UPLOADTHING_SECRET: process.env.UPLOADTHING_SECRET,
UPLOADTHING_APP_ID: process.env.UPLOADTHING_APP_ID,
// UPLOADTHING_SECRET: process.env.UPLOADTHING_SECRET,
// UPLOADTHING_APP_ID: process.env.UPLOADTHING_APP_ID,
},
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
Expand Down

0 comments on commit bc877f3

Please sign in to comment.