summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Program.cs')
-rw-r--r--src/SMAPI.Web/Program.cs1
1 files changed, 1 insertions, 0 deletions
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();