1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00

UsePathBase

This commit is contained in:
Kyle Spearrin 2018-03-23 23:43:34 -04:00
parent 997839a2c7
commit af1aaba7ed

View File

@ -71,11 +71,7 @@ namespace Bit.Admin
if(globalSettings.SelfHosted) if(globalSettings.SelfHosted)
{ {
app.Use(async (context, next) => app.UsePathBase("/admin");
{
context.Request.PathBase = "/admin";
await next.Invoke();
});
} }
app.UseAuthentication(); app.UseAuthentication();