mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
fix: local regression
replace my hard coded thinking Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -79,9 +79,9 @@ const CHECKS = [
|
||||
{
|
||||
name: 'storage',
|
||||
critical: false,
|
||||
enabled: !!process.env.S3_ENDPOINT,
|
||||
enabled: !!(process.env.S3_ENDPOINT || process.env.S3_PUBLIC_URL),
|
||||
skipNote: 'S3_ENDPOINT is not configured',
|
||||
meta: { provider: 's3', endpoint: process.env.S3_ENDPOINT, bucket: process.env.S3_BUCKET },
|
||||
meta: { provider: 's3', endpoint: process.env.S3_PUBLIC_URL ?? process.env.S3_ENDPOINT, bucket: process.env.S3_BUCKET },
|
||||
run: pingS3,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user