summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/release-notes.md7
-rw-r--r--src/SMAPI.Web/Startup.cs1
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 338a0f9e..833f96b4 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -3,7 +3,8 @@
* For players:
* Fixed error when a mod loads custom assets on Linux/Mac.
* Fixed error when a mod has an invalid `EntryDLL` filename.
- * Fixed rare error when Mac adds an `mcs` file to the installer package.
+ * Fixed error when checking for updates on Linux/Mac due to API HTTPS redirect.
+ * Fixed error when Mac adds an `mcs` symlink to the installer package.
* Fixed `player_add` command not handling tool upgrade levels.
* Updated compatibility list.
* The [log parser][] no longer expires logs after a week.
@@ -11,8 +12,8 @@
* For modders:
* Added `DaysSinceStart` property to `SDate` dates.
- * Fixed input `e.SuppressButton(button)` method ignoring input.
- * Fixed input `e.SuppressButton()` method not working with mouse buttons.
+ * Fixed input events' `e.SuppressButton(button)` method ignoring specified button.
+ * Fixed input events' `e.SuppressButton()` method not working with mouse buttons.
## 2.1
* For players:
diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs
index 799fb0f8..16952124 100644
--- a/src/SMAPI.Web/Startup.cs
+++ b/src/SMAPI.Web/Startup.cs
@@ -80,6 +80,7 @@ namespace StardewModdingAPI.Web
shouldRewrite: req =>
req.Host.Host != "localhost"
&& !req.Path.StartsWithSegments("/api")
+ && !req.Host.Host.StartsWith("api.")
))
// convert subdomain.smapi.io => smapi.io/subdomain for routing