summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Startup.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-25 10:42:18 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-25 10:42:18 -0500
commitf20e804622e8892a090a6678aa38f32898e0d433 (patch)
tree0527dd7a06d3def685fc2f913efdb6e65360103d /src/SMAPI.Web/Startup.cs
parentbbd021f8736d1496f34a58b12bb0ee6c341d1c5e (diff)
parentc90b821a43bd98c3268a25a324f10a1f2055d7ac (diff)
downloadSMAPI-f20e804622e8892a090a6678aa38f32898e0d433.tar.gz
SMAPI-f20e804622e8892a090a6678aa38f32898e0d433.tar.bz2
SMAPI-f20e804622e8892a090a6678aa38f32898e0d433.zip
Merge branch 'feature/download-page' into develop
Diffstat (limited to 'src/SMAPI.Web/Startup.cs')
-rw-r--r--src/SMAPI.Web/Startup.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs
index 307c4ae9..e5e759e7 100644
--- a/src/SMAPI.Web/Startup.cs
+++ b/src/SMAPI.Web/Startup.cs
@@ -48,7 +48,7 @@ namespace StardewModdingAPI.Web
// init configuration
services
.Configure<ModUpdateCheckConfig>(this.Configuration.GetSection("ModUpdateCheck"))
- .Configure<LogParserConfig>(this.Configuration.GetSection("LogParser"))
+ .Configure<ContextConfig>(this.Configuration.GetSection("Context"))
.Configure<RouteOptions>(options => options.ConstraintMap.Add("semanticVersion", typeof(VersionConstraint)))
.AddMemoryCache()
.AddMvc()
@@ -134,7 +134,6 @@ namespace StardewModdingAPI.Web
// shortcut redirects
.Add(new RedirectToUrlRule("^/docs$", "https://stardewvalleywiki.com/Modding:Index"))
- .Add(new RedirectToUrlRule("^/install$", "https://stardewvalleywiki.com/Modding:Installing_SMAPI"))
)
.UseStaticFiles() // wwwroot folder
.UseMvc();