summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-25 01:53:10 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-25 01:53:10 -0500
commit70cbfa541dade1822394f81bd1d5b6baa18e51e9 (patch)
tree7b20e8fc6a7e79687a3367ea9aa28a5181eb5444 /src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs
parentadee66b3b4ea111b0082a31108e55726fab10643 (diff)
downloadSMAPI-70cbfa541dade1822394f81bd1d5b6baa18e51e9.tar.gz
SMAPI-70cbfa541dade1822394f81bd1d5b6baa18e51e9.tar.bz2
SMAPI-70cbfa541dade1822394f81bd1d5b6baa18e51e9.zip
support contextual nav URLs, update nav menu (#411)
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs
new file mode 100644
index 00000000..117462f4
--- /dev/null
+++ b/src/SMAPI.Web/Framework/ConfigModels/ContextConfig.cs
@@ -0,0 +1,15 @@
+namespace StardewModdingAPI.Web.Framework.ConfigModels
+{
+ /// <summary>The config settings for the app context.</summary>
+ public class ContextConfig // 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; }
+ }
+}