Skip to content

Commit

Permalink
v0.12.0, fixes #432
Browse files Browse the repository at this point in the history
  • Loading branch information
BitPatty committed Oct 27, 2023
1 parent 53cbbf7 commit 154f260
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ app.prepare().then(() => {
},
// (Optional) If your imgproxy instance uses
// the IMGPROXY_SECRET, specify the token here
authToken: '<my-token>'
authToken: '<my-token>',
// (Optional) If you wanna restrict access to specific
// buckets add an array of valid bucket names
bucketWhitelist: ['<my-bucket>'],
Expand All @@ -62,9 +62,9 @@ app.prepare().then(() => {
// (Optional) An object containing additional request
// headers that should be sent to the imgproxy endpoint
requestHeaders: {
'My-Header': 'My-Value'
'My-Header': 'My-Value',
// ...
}
},
// (Optional) The logger configuration. If you want additional
// debug output you can adjust the log level.
logging: {
Expand All @@ -74,8 +74,8 @@ app.prepare().then(() => {
logger: console,
// (Optional) The log level, must be one of
// 'debug', 'warn' or 'error' (defaults to 'error')
level: 'debug'
}
level: 'debug',
},
},
);
} else {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitpatty/next-image-s3-imgproxy-loader",
"version": "0.12.0-rc1",
"version": "0.12.0",
"description": "imgproxy S3 extension for next/image",
"author": "Matteias Collet <[email protected]>",
"homepage": "https://github.com/BitPatty/next-image-s3-imgproxy-loader#readme",
Expand Down

0 comments on commit 154f260

Please sign in to comment.