diff options
Diffstat (limited to 'src/StardewModdingAPI.Web/Startup.cs')
-rw-r--r-- | src/StardewModdingAPI.Web/Startup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Web/Startup.cs b/src/StardewModdingAPI.Web/Startup.cs index 4806aefe..d5b828b7 100644 --- a/src/StardewModdingAPI.Web/Startup.cs +++ b/src/StardewModdingAPI.Web/Startup.cs @@ -11,7 +11,7 @@ using StardewModdingAPI.Web.Framework.ConfigModels; namespace StardewModdingAPI.Web { /// <summary>The web app startup configuration.</summary> - public class Startup + internal class Startup { /********* ** Accessors @@ -44,6 +44,7 @@ namespace StardewModdingAPI.Web .Configure<ModUpdateCheckConfig>(this.Configuration.GetSection("ModUpdateCheck")) .AddMemoryCache() .AddMvc() + .ConfigureApplicationPartManager(manager => manager.FeatureProviders.Add(new InternalControllerFeatureProvider())) .AddJsonOptions(options => { options.SerializerSettings.Formatting = Formatting.Indented; |