File tree Expand file tree Collapse file tree
adminforth/documentation/docs/tutorial Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ R2_BUCKET_REGION=auto
9393 s3ACL: " private" ,
9494 cleanupKeyValueAdapter: new LevelDBKeyValueAdapter ({
9595 // ensure /stores/ folder is a persisted/backed up point, if you running in docker ensure ensure you mount /stores/ as volume
96- dbPath: process .env .NODE_ENV === production ? ' /stores/cloudflare_r2_storage_keys' : ' ./cloudflare_r2_storage_keys' ,
96+ dbPath: process .env .NODE_ENV === ' production' ? ' /stores/cloudflare_r2_storage_keys' : ' ./cloudflare_r2_storage_keys' ,
9797 });,
9898 forcePathStyle: true ,
9999 cleanupCheckInterval: ' 30m' ,
@@ -126,7 +126,7 @@ R2_BUCKET_REGION=auto
126126 s3ACL: ' private' ,
127127 cleanupKeyValueAdapter: new LevelDBKeyValueAdapter ({
128128 // ensure /stores/ folder is a persisted/backed up point, if you running in docker ensure ensure you mount /stores/ as volume
129- dbPath: process .env .NODE_ENV === production ? ' /stores/minio_storage_keys' : ' ./minio_storage_keys' ,
129+ dbPath: process .env .NODE_ENV === ' production' ? ' /stores/minio_storage_keys' : ' ./minio_storage_keys' ,
130130 }),
131131 forcePathStyle: true ,
132132 cleanupCheckInterval: ' 30m' ,
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export default {
124124 statusField: ' status' ,
125125 nameField: ' name' ,
126126 jobHandlerField: ' job_handler_name' ,
127- levelDbPath: process .env .NODE_ENV === production ? ' /stores/background_job_plugin' : ' ./background_jobs' ,
127+ levelDbPath: process .env .NODE_ENV === ' production' ? ' /stores/background_job_plugin' : ' ./background_jobs' ,
128128 })
129129 ]
130130} as AdminForthResourceInput ;
You can’t perform that action at this time.
0 commit comments