diff --git a/README.md b/README.md index f24e8d4..45213dd 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,10 @@ module.exports = ({ env }) => ({ config: { provider: "strapi-provider-upload-tencent-cloud-storage", providerOptions: { - SecretId: env("COS_SecretId"), - SecretKey: env("COS_SecretKey"), - Region: env("COS_Region"), - Bucket: env("COS_Bucket"), + SecretId: env("COS_SECRET_ID"), + SecretKey: env("COS_SECRET_KEY"), + Region: env("COS_REGION"), + Bucket: env("COS_BUCKET"), }, }, }, @@ -78,10 +78,10 @@ module.exports = ({ env }) => ({ config: { provider: "strapi-provider-upload-tencent-cloud-storage", providerOptions: { - SecretId: env("COS_SecretId"), - SecretKey: env("COS_SecretKey"), - Region: env("COS_Region"), - Bucket: env("COS_Bucket"), + SecretId: env("COS_SECRET_ID"), + SecretKey: env("COS_SECRET_KEY"), + Region: env("COS_REGION"), + Bucket: env("COS_BUCKET"), ACL: "private", // <= set ACL to private }, }, @@ -141,10 +141,10 @@ module.exports = ({ env }) => ({ provider: "strapi-provider-upload-tencent-cloud-storage", providerOptions: { CDNDomain: "example-cdn-domain.com", // <= CDN Accelerated Domain - SecretId: env("COS_SecretId"), - SecretKey: env("COS_SecretKey"), - Region: env("COS_Region"), - Bucket: env("COS_Bucket"), + SecretId: env("COS_SECRET_ID"), + SecretKey: env("COS_SECRET_KEY"), + Region: env("COS_REGION"), + Bucket: env("COS_BUCKET"), }, }, }, diff --git a/package.json b/package.json index b297ff0..40d98be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strapi-provider-upload-tencent-cloud-storage", - "version": "1.1.3", + "version": "1.1.4", "description": "A integration of Tencent Cloud COS as a file storage solution within Strapi.", "main": "dist/index.js", "directories": { @@ -54,7 +54,7 @@ "@strapi/strapi": ">=4.0.0" }, "engines": { - "node": ">=14.19.1 <=19.x.x", + "node": ">=14.19.1", "npm": ">=6.0.0" }, "publishConfig": {