mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
UsePathBase
This commit is contained in:
parent
997839a2c7
commit
af1aaba7ed
@ -71,11 +71,7 @@ namespace Bit.Admin
|
||||
|
||||
if(globalSettings.SelfHosted)
|
||||
{
|
||||
app.Use(async (context, next) =>
|
||||
{
|
||||
context.Request.PathBase = "/admin";
|
||||
await next.Invoke();
|
||||
});
|
||||
app.UsePathBase("/admin");
|
||||
}
|
||||
|
||||
app.UseAuthentication();
|
||||
|
Loading…
Reference in New Issue
Block a user