diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 14:15:59 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 14:15:59 -0400 |
commit | c2d8760c563da5f6182cb9475a1bb12c8622f455 (patch) | |
tree | 3be890596b387263b98d96332e283ada8e08d7c6 /src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs | |
parent | eaabd91f31db35e050b7215f5f36568bf6982a83 (diff) | |
download | SMAPI-c2d8760c563da5f6182cb9475a1bb12c8622f455.tar.gz SMAPI-c2d8760c563da5f6182cb9475a1bb12c8622f455.tar.bz2 SMAPI-c2d8760c563da5f6182cb9475a1bb12c8622f455.zip |
make web controllers internal (#336)
This is needed to support internal models, which is needed to share the models with the main SMAPI assembly without making them visible to mods.
Diffstat (limited to 'src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs')
-rw-r--r-- | src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs b/src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs index 9b89cb65..5a56844f 100644 --- a/src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs +++ b/src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs @@ -5,7 +5,7 @@ namespace StardewModdingAPI.Web.Framework { /// <summary>Rewrite requests to prepend the subdomain portion (if any) to the path.</summary> /// <remarks>Derived from <a href="https://stackoverflow.com/a/44526747/262123" />.</remarks> - public class RewriteSubdomainRule : IRule + internal class RewriteSubdomainRule : IRule { /// <summary>Applies the rule. Implementations of ApplyRule should set the value for <see cref="RewriteContext.Result" /> (defaults to RuleResult.ContinueRules).</summary> /// <param name="context">The rewrite context.</param> |