Added Admin pages

This commit is contained in:
2024-07-21 15:08:29 +02:00
parent 7cd412b168
commit f8ee78f1fd
18 changed files with 626 additions and 11 deletions

View File

@@ -1,5 +1,4 @@
@page "/counter"
@using HopFrame.Web.Components
@rendermode InteractiveServer
<PageTitle>Counter</PageTitle>

View File

@@ -23,7 +23,7 @@ if (!app.Environment.IsDevelopment()) {
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseAntiforgery();
//app.UseAntiforgery();
app.UseAuthorization();
app.UseAuthentication();
app.UseMiddleware<AuthMiddleware>();