summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/SiteConfig.cs
blob: c0e4c4c848fdb5be5ade64e21b21cd30183efbc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>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; }
    }
}