This repository was archived by the owner on Oct 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ formOverrides: {
116116 } ,
117117 }
118118} ) ,
119- process . env . NODE_ENV === 'production' && s3Storage ( {
119+ s3Storage ( {
120+ enabled : process . env . NODE_ENV !== "development" ,
120121 collections : {
121122 media : {
122123 prefix : "./media" ,
@@ -133,15 +134,14 @@ formOverrides: {
133134 endpoint : process . env . S3_ENDPOINT || "" ,
134135 } ,
135136 } ) ,
136- ] . filter ( Boolean ) ,
137137 db : postgresAdapter ( {
138138 pool : {
139139 connectionString : process . env . DATABASE_URI ,
140140 } ,
141141 generateSchemaOutputFile : "../../libs/db/schema.ts" , // resolves from location of payload.config.ts
142142 } ) ,
143143 secret : process . env . PAYLOAD_SECRET ,
144- serverURL : process . env . NODE_ENV == 'production ' ? process . env . CUHACKING_2025_AXIOM_PUBLIC_URL : process . env . CUHACKING_2025_AXIOM_LOCAL_URL ,
144+ serverURL : process . env . NODE_ENV === 'development ' ? process . env . CUHACKING_2025_AXIOM_LOCAL_URL : process . env . CUHACKING_2025_AXIOM_PUBLIC_URL ,
145145 cors : process . env . CORS_WHITELIST_ORIGINS
146146 ? process . env . CORS_WHITELIST_ORIGINS . split ( "," )
147147 : [ ] ,
You can’t perform that action at this time.
0 commit comments