1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 17:12:49 -05:00

version info in response headers

This commit is contained in:
Kyle Spearrin
2017-08-25 08:57:43 -04:00
parent 0e2c86b1f5
commit eb9bb315c3
6 changed files with 61 additions and 30 deletions

View File

@ -72,11 +72,8 @@ namespace Bit.Identity
.AddConsole()
.AddDebug();
// Forwarded headers
if(!env.IsDevelopment())
{
app.UseForwardedHeadersForAzure();
}
// Default Middleware
app.UseDefaultMiddleware(env);
// Add IdentityServer to the request pipeline.
app.UseIdentityServer();