mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-20 15:41:40 -04:00
Add new admin project from scratch with improved identity scaffolding (#113)
This commit is contained in:
@@ -2,6 +2,7 @@ using System.Data.Common;
|
||||
using AliasServerDb;
|
||||
using AliasVault.Admin;
|
||||
using AliasVault.Admin.Auth;
|
||||
using AliasVault.Admin.Main;
|
||||
using AliasVault.Admin.Services;
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
@@ -91,7 +92,8 @@ app.UseAuthorization();
|
||||
app.MapControllers();
|
||||
app.MapBlazorHub();
|
||||
|
||||
app.MapFallbackToPage("/_Host");
|
||||
app.MapRazorComponents<App>()
|
||||
.AddInteractiveServerRenderMode();
|
||||
|
||||
using (var scope = app.Services.CreateScope())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user