adding /aspnet_demo as base path strip off

This commit is contained in:
2026-10-28 15:07:00 +02:00
parent 2bc968a92c
commit 07f006cfd9
+1 -1
View File
@@ -110,7 +110,7 @@ public class Program
await DbSeeder.SeedAsync(app.Services);
app.UseAntiforgery();
app.UseRateLimiter();
app.UsePathBase("/aspnet_demo");
//accounts
//safety check if form sends us to the same domain
//if starting with / -> u, if null or else -> "/" redirects to Index