summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-10 23:42:22 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-10 23:42:22 -0500
commitd3f6f9c70a0435a505d95a45b9bca2be2d71caaf (patch)
treed480536f17a5b09fd11207971fa78eb6ca939128
parent6bdd49af13ed6bdfef8220c85ca32bca904d3a1e (diff)
downloadSMAPI-d3f6f9c70a0435a505d95a45b9bca2be2d71caaf.tar.gz
SMAPI-d3f6f9c70a0435a505d95a45b9bca2be2d71caaf.tar.bz2
SMAPI-d3f6f9c70a0435a505d95a45b9bca2be2d71caaf.zip
fix log parser favicon (#405)
-rw-r--r--docs/release-notes.md3
-rw-r--r--src/SMAPI.Web/Startup.cs1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index a76b5e19..57d9c480 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -7,6 +7,9 @@
* Fixed issue where a mod could change the cursor position reported to other mods.
* Improved cryptic libgdiplus errors on Mac when Mono isn't installed.
+* For the [log parser][]:
+ * Fixed broken favicon.
+
## 2.2
* For players:
* Fixed error when a mod loads custom assets on Linux/Mac.
diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs
index 16952124..2f2b0d11 100644
--- a/src/SMAPI.Web/Startup.cs
+++ b/src/SMAPI.Web/Startup.cs
@@ -89,6 +89,7 @@ namespace StardewModdingAPI.Web
req.Host.Host != "localhost"
&& (req.Host.Host.StartsWith("api.") || req.Host.Host.StartsWith("log."))
&& !req.Path.StartsWithSegments("/content")
+ && !req.Path.StartsWithSegments("/favicon.ico")
))
// shortcut redirects