Skip to content

Commit

Permalink
chore: update README.md & remove maximum node version limit
Browse files Browse the repository at this point in the history
Update Tencent Cloud Storage provider configuration about the name of env & remove the maximum node
version limit in the package.json

fix #5
  • Loading branch information
yclgkd committed Jul 19, 2024
1 parent 7b1fa21 commit bfb38ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
},
},
Expand All @@ -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
},
},
Expand Down Expand Up @@ -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"),
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit bfb38ae

Please sign in to comment.