File tree 1 file changed +6
-7
lines changed
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
99
99
100
100
Once installed the cache @SixLabors .ImageSharp.Web.Providers.AWS.AWSS3StorageImageProviderOptions can be configured as follows:
101
101
102
-
103
102
``` c#
104
103
// Configure and register the buckets.
105
104
// 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
108
107
// The "S3Buckets" collection allows registration of multiple buckets.
109
108
options .S3Buckets .Add (new AWSS3BucketClientOptions
110
109
{
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
116
115
});
117
116
})
118
- .AddProvider <AWSS3StorageImageProviderOptions >()
117
+ .AddProvider <AWSS3StorageImageProvider >()
119
118
```
120
119
121
120
Url requests are matched in accordance to the following rule:
You can’t perform that action at this time.
0 commit comments