summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-07-29 12:43:04 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-07-29 12:43:04 -0400
commit84d52b1735204550c6369270c03f61944c2c88bd (patch)
tree7a9a408718cd93b2696c1e73345a27a2be42c0c1 /src/SMAPI.Web/Framework
parent670ff77363bae56c7514b83e7c126cacd318f440 (diff)
downloadSMAPI-84d52b1735204550c6369270c03f61944c2c88bd.tar.gz
SMAPI-84d52b1735204550c6369270c03f61944c2c88bd.tar.bz2
SMAPI-84d52b1735204550c6369270c03f61944c2c88bd.zip
make beta version on smapi.io optional (#569)
Diffstat (limited to 'src/SMAPI.Web/Framework')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/SiteConfig.cs (renamed from src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs)7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/SiteConfig.cs
index 117462f4..3d428015 100644
--- a/src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs
+++ b/src/SMAPI.Web/Framework/ConfigModels/SiteConfig.cs
@@ -1,7 +1,7 @@
namespace StardewModdingAPI.Web.Framework.ConfigModels
{
- /// <summary>The config settings for the app context.</summary>
- public class ContextConfig // must be public to pass into views
+ /// <summary>The site config settings.</summary>
+ public class SiteConfig // must be public to pass into views
{
/*********
** Accessors
@@ -11,5 +11,8 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
/// <summary>The root URL for the log parser.</summary>
public string LogParserUrl { get; set; }
+
+ /// <summary>Whether to show SMAPI beta versions on the main page, if any.</summary>
+ public bool EnableSmapiBeta { get; set; }
}
}