File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ const {
1010 FORCE_PATH_STYLE ,
1111 ACCESS_CONTROL_ALLOW_ORIGIN ,
1212 PRE_SIGNED_URL_EXPIRE_IN ,
13- REDIS_URL , // in seconds
14- } = Bun . env ;
13+ REDIS_URL ,
14+ } = process . env ;
1515
1616const requiredEnvVars = {
1717 S3_REGION ,
@@ -22,7 +22,7 @@ const requiredEnvVars = {
2222 FORCE_PATH_STYLE ,
2323 ACCESS_CONTROL_ALLOW_ORIGIN ,
2424 PRE_SIGNED_URL_EXPIRE_IN ,
25- REDIS_URL ,
25+ REDIS_URL : process . env . REDIS_URL ,
2626} ;
2727
2828for ( const [ key , value ] of Object . entries ( requiredEnvVars ) ) {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export type PreviewJob = {
5050} ;
5151
5252// Env
53- const { REDIS_URL , DATABASE_URL , S3_BUCKET } = process . env as Record <
53+ const { REDIS_URL , DATABASE_URL } = process . env as Record <
5454 string ,
5555 string | undefined
5656> ;
You can’t perform that action at this time.
0 commit comments