fix rare intermittent "CGI application encountered an error" errors

This commit is contained in:
Jesse Plamondon-Willard 2020-04-05 13:38:59 -04:00
parent 96ec4de727
commit c9b6b04a75
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
* For the web UI:
* Updated the JSON validator and Content Patcher schema for Content Patcher 1.13.
* Fixed rare intermittent "CGI application encountered an error" errors.
* For modders:
* Fixed asset propagation on Linux/Mac for monster sprites, NPC dialogue, and NPC schedules.

View File

@ -18,6 +18,7 @@ namespace StardewModdingAPI.Web
.CreateDefaultBuilder(args)
.CaptureStartupErrors(true)
.UseSetting("detailedErrors", "true")
.UseKestrel().UseIISIntegration() // must be used together; fixes intermittent errors on Azure: https://stackoverflow.com/a/38312175/262123
.UseStartup<Startup>()
.Build()
.Run();