summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-04-05 13:38:59 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-04-05 13:38:59 -0400
commitc9b6b04a7502215b94a00560fad905786b144bb2 (patch)
treeecf7c90bb0f5e81474cdf26b2a72d7fe1d80af1d
parent96ec4de7275ae4e0ffc92ca8058c5e04b8ddd20d (diff)
downloadSMAPI-c9b6b04a7502215b94a00560fad905786b144bb2.tar.gz
SMAPI-c9b6b04a7502215b94a00560fad905786b144bb2.tar.bz2
SMAPI-c9b6b04a7502215b94a00560fad905786b144bb2.zip
fix rare intermittent "CGI application encountered an error" errors
-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();