Skip to content

Commit

Permalink
hmm use values at runtime!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Aug 11, 2024
1 parent 4b81603 commit 46a1a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const appRouter = t.router({
const formData = generateCloudinarySignature(params, {
cloudName,
apiKey,
apiSecret: import.meta.env.CLOUDINARY_API_SECRET,
apiSecret: process.env.CLOUDINARY_API_SECRET!,
})
return { url, formData }
}),
Expand Down

0 comments on commit 46a1a85

Please sign in to comment.