summaryrefslogtreecommitdiff
path: root/src
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 /src
parent324d02233dcb459f95befe1393d08d73766b3ece (diff)
downloadSMAPI-59775e99c49790cf6632b0b6514f23c8209bece0.tar.gz
SMAPI-59775e99c49790cf6632b0b6514f23c8209bece0.tar.bz2
SMAPI-59775e99c49790cf6632b0b6514f23c8209bece0.zip
link smapi.io/install to install guide
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI.Web/Startup.cs3
1 files changed, 2 insertions, 1 deletions
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[]>