@page
@using Monithor.api
@model AdminModel
@{
	ViewData["Title"] = "Admin";
	
	if (HttpContext.Request.Host.Host != Config.AdminHost) {
		Response.Redirect($"/Error");
		Layout = null;
		return;
	}
}

<div class="text-center">
	<h1 class="display-4">Welcome</h1>
	<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>