fix: COS domain fallback 从 cos.longde.cloud 改为空字符串
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 44s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 44s
storage.config.ts 兜底值 cos.longde.cloud → ''
配合 CosStorageProvider 的 domain ? {...} : {} 逻辑,
彻底移除无效 TLS 证书的自定义域名。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
859156a59b
commit
846ba43f8f
@ -8,7 +8,7 @@ export default registerAs('storage', () => ({
|
||||
secretKey: process.env.STORAGE_COS_SECRET_KEY || '',
|
||||
bucket: process.env.STORAGE_COS_BUCKET || 'zhixi-1259685406',
|
||||
region: process.env.STORAGE_COS_REGION || 'ap-beijing',
|
||||
domain: process.env.STORAGE_COS_DOMAIN || 'cos.longde.cloud',
|
||||
domain: process.env.STORAGE_COS_DOMAIN || '',
|
||||
},
|
||||
s3: {
|
||||
bucket: process.env.STORAGE_S3_BUCKET,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user