File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ paket add SixLabors.ImageSharp.Web.Providers.AWS --version VERSION_NUMBER
9999
100100Once installed the cache @SixLabors .ImageSharp.Web.Providers.AWS.AWSS3StorageImageProviderOptions can be configured as follows:
101101
102-
103102``` c#
104103// Configure and register the buckets.
105104// Alteratively use `appsettings.json` to represent the class and bind those settings.
@@ -108,14 +107,14 @@ Once installed the cache @SixLabors.ImageSharp.Web.Providers.AWS.AWSS3StorageIma
108107 // The "S3Buckets" collection allows registration of multiple buckets.
109108 options .S3Buckets .Add (new AWSS3BucketClientOptions
110109 {
111- options . Endpoint = { AWS_ENDPOINT };
112- options . BucketName = { AWS_BUCKET_NAME };
113- options . AccessKey = { AWS_ACCESS_KEY };
114- options . AccessSecret = { AWS_ACCESS_SECRET };
115- options . Region = { AWS_REGION };
110+ Endpoint = AWS_ENDPOINT ,
111+ BucketName = AWS_BUCKET_NAME ,
112+ AccessKey = AWS_ACCESS_KEY ,
113+ AccessSecret = AWS_ACCESS_SECRET ,
114+ Region = AWS_REGION
116115 });
117116})
118- .AddProvider <AWSS3StorageImageProviderOptions >()
117+ .AddProvider <AWSS3StorageImageProvider >()
119118```
120119
121120Url requests are matched in accordance to the following rule:
You can’t perform that action at this time.
0 commit comments