Skip to content

Commit

Permalink
Merge branch 'hotfix/0.10.1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldotknopf committed Oct 12, 2018
2 parents 88becd3 + 0d5e73a commit b6c3393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Statik.Files/WebBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ private static void RegisterFileInfo(this IWebBuilder webBuilder, IFileProvider
var statileFileOptions = Options.Create(new StaticFileOptions());
statileFileOptions.Value.FileProvider = fileProvider;
statileFileOptions.Value.ServeUnknownFileTypes = true;
var loggerFactory = context.RequestServices.GetRequiredService<ILoggerFactory>();
var middleware = new StaticFileMiddleware(_ => Task.CompletedTask, env, statileFileOptions, loggerFactory);
Expand Down

0 comments on commit b6c3393

Please sign in to comment.