This commit is contained in:
Paul Schneider
2021-08-10 21:51:15 +01:00
parent fe7339b851
commit 0c376bcf40
3 changed files with 2 additions and 15 deletions

View File

@ -21,14 +21,6 @@ namespace Yavsc
{
public static IApplicationBuilder UseYaFileServer(this IApplicationBuilder builder, FileServerOptions options)
{
if (builder == null)
{
throw new ArgumentNullException("builder");
}
if (options == null)
{
throw new ArgumentNullException("options");
}
if (options == null)
{
throw new ArgumentNullException("options");
@ -46,10 +38,6 @@ namespace Yavsc
public static IApplicationBuilder UseYaSendFileFallback(this IApplicationBuilder builder)
{
if (builder == null)
{
throw new ArgumentNullException("builder");
}
return builder.UseMiddleware<YaSendFileMiddleware>(new object[0]);
}
}