1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-16 07:07:32 -05:00

get request up from cloudflare header

This commit is contained in:
Kyle Spearrin
2019-01-25 00:01:24 -05:00
parent b19628c6f8
commit f8f7c339c3
3 changed files with 18 additions and 19 deletions

View File

@ -12,9 +12,9 @@ namespace Bit.Core.Utilities
_next = next;
}
public async Task Invoke(HttpContext httpContext, CurrentContext currentContext)
public async Task Invoke(HttpContext httpContext, CurrentContext currentContext, GlobalSettings globalSettings)
{
currentContext.Build(httpContext);
currentContext.Build(httpContext, globalSettings);
await _next.Invoke(httpContext);
}
}