Base path fix.
This commit is contained in:
parent
8266e53435
commit
96bc3308f6
1 changed files with 1 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ try
|
|||
if (basePath != null)
|
||||
{
|
||||
app.UseMiddleware<BaseHrefMiddleware>(basePath);
|
||||
app.UsePathBase($"/{basePath.TrimStart('/').TrimEnd('/')}/");
|
||||
}
|
||||
|
||||
app.UseMiddleware<RequestLoggingMiddleware>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue