summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 21:10:36 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 21:10:36 -0400
commit3f43ebcc0e31db523fa82a163374cebf2f577cde (patch)
tree8b41f6cdd9f2894638e7be94e7268220184a9c76 /src/SMAPI.Web/Views
parentad5bb5b49af49c4668fd30fb2a0e606dcefe4ec0 (diff)
downloadSMAPI-3f43ebcc0e31db523fa82a163374cebf2f577cde.tar.gz
SMAPI-3f43ebcc0e31db523fa82a163374cebf2f577cde.tar.bz2
SMAPI-3f43ebcc0e31db523fa82a163374cebf2f577cde.zip
fix issues with subdomain routing in log UI (#358)
Diffstat (limited to 'src/SMAPI.Web/Views')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index 87a3962b..bd47f2ff 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -1,12 +1,18 @@
@{
ViewData["Title"] = "SMAPI log parser";
}
+@model StardewModdingAPI.Web.ViewModels.LogParserModel
@section Head {
<link rel="stylesheet" href="~/Content/css/log-parser.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js" crossorigin="anonymous"></script>
<script src="~/Content/js/log-parser.js"></script>
<style type="text/css" id="modflags"></style>
+ <script>
+ $(function() {
+ smapi.logParser('@Model.SectionUrl');
+ });
+ </script>
}
@*********