summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-05-11 19:11:31 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-05-11 19:11:31 -0400
commit59775e99c49790cf6632b0b6514f23c8209bece0 (patch)
treeba0e77e89465c4cecdfe71a27b783ef50540b5d2
parent324d02233dcb459f95befe1393d08d73766b3ece (diff)
downloadSMAPI-59775e99c49790cf6632b0b6514f23c8209bece0.tar.gz
SMAPI-59775e99c49790cf6632b0b6514f23c8209bece0.tar.bz2
SMAPI-59775e99c49790cf6632b0b6514f23c8209bece0.zip
link smapi.io/install to install guide
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI.Web/Startup.cs3
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 03fec40d..cf531c57 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -9,6 +9,7 @@
* Fixed console color scheme on Mac or in PowerShell, configurable via `StardewModdingAPI.config.json`.
* Fixed detection of GOG Galaxy install path in rare cases.
* Fixed install error on Linux/Mac in some cases.
+ * Fixed `smapi.io/install` not linking to a useful page.
* Renamed `install.exe` to `install on Windows.exe` to avoid confusion.
* For modders:
diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs
index 6c7ccecd..7f5b8e2b 100644
--- a/src/SMAPI.Web/Startup.cs
+++ b/src/SMAPI.Web/Startup.cs
@@ -153,9 +153,10 @@ namespace StardewModdingAPI.Web
));
// shortcut redirects
+ redirects.Add(new RedirectToUrlRule(@"^/buildmsg(?:/?(.*))$", "https://github.com/Pathoschild/SMAPI/blob/develop/docs/mod-build-config.md#$1"));
redirects.Add(new RedirectToUrlRule(@"^/compat\.?$", "https://stardewvalleywiki.com/Modding:SMAPI_compatibility"));
redirects.Add(new RedirectToUrlRule(@"^/docs\.?$", "https://stardewvalleywiki.com/Modding:Index"));
- redirects.Add(new RedirectToUrlRule(@"^/buildmsg(?:/?(.*))$", "https://github.com/Pathoschild/SMAPI/blob/develop/docs/mod-build-config.md#$1"));
+ redirects.Add(new RedirectToUrlRule(@"^/install\.?$", "https://stardewvalleywiki.com/Modding:Player_Guide/Getting_Started#Install_SMAPI"));
// redirect legacy canimod.com URLs
var wikiRedirects = new Dictionary<string, string[]>