Skip to content

Commit 0bdc5b0

Browse files
committed
fix support for IIS
1 parent a08ff94 commit 0bdc5b0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SharpIppNextServer/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
.AddSingleton<ISharpIppServer, SharpIppServer>()
1414
.AddSingleton<IFileSystem, FileSystem>()
1515
.Configure<KestrelServerOptions>(options => options.AllowSynchronousIO = true)
16+
.Configure<IISServerOptions>(options => options.AllowSynchronousIO = true)
1617
.Configure<PrinterOptions>(builder.Configuration.GetSection("Printer"))
1718
.AddSingleton<PrinterService>()
1819
.AddHttpContextAccessor()

0 commit comments

Comments
 (0)