Skip to content

Commit

Permalink
Change AswFileStore initialization (OrchardCMS#13178)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylgarmor committed Feb 4, 2023
1 parent d1b68cd commit 32380e0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ public override void ConfigureServices(IServiceCollection services)
var clock = serviceProvider.GetRequiredService<IClock>();
var logger = serviceProvider.GetRequiredService<ILogger<DefaultMediaFileStore>>();
var amazonS3Client = serviceProvider.GetService<IAmazonS3>();
var options = serviceProvider.GetRequiredService<IOptions<AwsStorageOptions>>();
var fileStore = new AwsFileStore(clock, options.Value, amazonS3Client);
var fileStore = new AwsFileStore(clock, storeOptions, amazonS3Client);
var mediaUrlBase = $"/{fileStore.Combine(shellSettings.RequestUrlPrefix, mediaOptions.AssetsRequestPath)}";
var originalPathBase = serviceProvider.GetRequiredService<IHttpContextAccessor>().HttpContext
Expand Down

0 comments on commit 32380e0

Please sign in to comment.