summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI.Web/Program.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index c72e4454..b7a135b9 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -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.
diff --git a/src/SMAPI.Web/Program.cs b/src/SMAPI.Web/Program.cs
index 5d13cdf3..70082160 100644
--- a/src/SMAPI.Web/Program.cs
+++ b/src/SMAPI.Web/Program.cs
@@ -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();