summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/SiteConfig.cs
blob: d89a426007e0784d2fe98a5942b96e3030bbe343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
namespace StardewModdingAPI.Web.Framework.ConfigModels
{
    /// <summary>The site config settings.</summary>
    public class SiteConfig // must be public to pass into views
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The root URL for the app.</summary>
        public string RootUrl { get; set; }

        /// <summary>The root URL for the log parser.</summary>
        public string LogParserUrl { get; set; }

        /// <summary>The root URL for the mod list.</summary>
        public string ModListUrl { get; set; }

        /// <summary>Whether to show SMAPI beta versions on the main page, if any.</summary>
        public bool BetaEnabled { get; set; }

        /// <summary>A short sentence shown under the beta download button, if any.</summary>
        public string BetaBlurb { get; set; }
    }
}