adding /aspnet_demo as base path strip off
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ public class Program
|
|||||||
await DbSeeder.SeedAsync(app.Services);
|
await DbSeeder.SeedAsync(app.Services);
|
||||||
app.UseAntiforgery();
|
app.UseAntiforgery();
|
||||||
app.UseRateLimiter();
|
app.UseRateLimiter();
|
||||||
|
app.UsePathBase("/aspnet_demo");
|
||||||
//accounts
|
//accounts
|
||||||
//safety check if form sends us to the same domain
|
//safety check if form sends us to the same domain
|
||||||
//if starting with / -> u, if null or else -> "/" redirects to Index
|
//if starting with / -> u, if null or else -> "/" redirects to Index
|
||||||
|
|||||||
Reference in New Issue
Block a user