fix #1156 add defensive coding for scenario where host name does not match any alias

This commit is contained in:
Shaun Walker
2021-03-11 20:21:15 -05:00
parent 6d3e17a5f5
commit 86ce8994d9
2 changed files with 24 additions and 10 deletions

View File

@ -1,4 +1,4 @@
@page "/"
@page "/"
@namespace Oqtane.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Microsoft.Extensions.Configuration
@ -35,6 +35,11 @@
<a class="dismiss">🗙</a>
</div>
@if (Model.Message != "")
{
@Model.Message
}
<script src="js/interop.js"></script>
@if (Configuration.GetSection("Runtime").Value == "WebAssembly")