Merge pull request #285 from LeoChen98/fix-tencent-cos-locales-loss

fix: tencent cos ui locales loss
This commit is contained in:
usual2970 2024-10-31 08:15:04 +08:00 committed by GitHub
commit 10e14caf35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,11 +79,11 @@ const DeployToTencentCOS = () => {
}); });
const regionSchema = z.string().regex(/^ap-[a-z]+$/, { const regionSchema = z.string().regex(/^ap-[a-z]+$/, {
message: t("domain.deployment.form.cos_region.placeholder"), message: t("domain.deployment.form.tencent_cos_region.placeholder"),
}); });
const bucketSchema = z.string().regex(/^.+-\d+$/, { const bucketSchema = z.string().regex(/^.+-\d+$/, {
message: t("domain.deployment.form.cos_bucket.placeholder"), message: t("domain.deployment.form.tencent_cos_bucket.placeholder"),
}); });
return ( return (