Skip to content

Commit f5abf8b

Browse files
committed
docs: fix typo in docs
1 parent ed78ead commit f5abf8b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

adminforth/documentation/docs/tutorial/06-Adapters/04-storage-adapters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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',

adminforth/documentation/docs/tutorial/09-Plugins/23-background-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)