diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-20 15:29:16 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-20 15:29:16 -0400 |
commit | 2b5db3ce7e37632422475239faa063c5bcc09064 (patch) | |
tree | 43c1afd17561e3c0d2ab4155c81590e684186c0c /src | |
parent | 9af8cb86f1c2b37d6b5f95f1ab2acf6a7f757aa0 (diff) | |
download | SMAPI-2b5db3ce7e37632422475239faa063c5bcc09064.tar.gz SMAPI-2b5db3ce7e37632422475239faa063c5bcc09064.tar.bz2 SMAPI-2b5db3ce7e37632422475239faa063c5bcc09064.zip |
fix mod list routing (#597)
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.Web/Startup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs index bf3ec9a1..82abf17d 100644 --- a/src/SMAPI.Web/Startup.cs +++ b/src/SMAPI.Web/Startup.cs @@ -147,7 +147,7 @@ namespace StardewModdingAPI.Web redirects.Add(new ConditionalRewriteSubdomainRule( shouldRewrite: req => req.Host.Host != "localhost" - && (req.Host.Host.StartsWith("api.") || req.Host.Host.StartsWith("log.")) + && (req.Host.Host.StartsWith("api.") || req.Host.Host.StartsWith("log.") || req.Host.Host.StartsWith("mods.")) && !req.Path.StartsWithSegments("/content") && !req.Path.StartsWithSegments("/favicon.ico") )); |