This commit is contained in:
2024-08-04 12:46:44 +02:00
parent 4ec531f026
commit 936ce36d85
37 changed files with 319 additions and 255 deletions

View File

@@ -14,4 +14,9 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.7" />
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\bootstrap\bootstrap.min.css" />
<_ContentIncludedByDefault Remove="wwwroot\bootstrap\bootstrap.min.css.map" />
</ItemGroup>
</Project>

View File

@@ -23,13 +23,13 @@ if (!app.Environment.IsDevelopment()) {
app.UseHttpsRedirection();
app.UseStaticFiles();
//app.UseAntiforgery();
app.UseAntiforgery();
app.UseAuthorization();
app.UseAuthentication();
app.UseMiddleware<AuthMiddleware>();
app.MapRazorComponents<App>()
.AddHopFramePages()
.AddHopFrameAdminPages()
.AddInteractiveServerRenderMode();
app.Run();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long