Vacation Fixes (#709)
* Ignore system and hidden folders when performing directory scan. * Fixed the comic parser tests not using Comic mode for parsing. * Accept all forwarded headers and use them. * Ignore some changes from another branch
This commit is contained in:
parent
f99cf87ab5
commit
7ce13babad
4 changed files with 35 additions and 4 deletions
|
@ -106,6 +106,11 @@ namespace API
|
|||
|
||||
services.AddResponseCaching();
|
||||
|
||||
services.Configure<ForwardedHeadersOptions>(options =>
|
||||
{
|
||||
options.ForwardedHeaders =
|
||||
ForwardedHeaders.All;
|
||||
});
|
||||
|
||||
services.AddHangfire(configuration => configuration
|
||||
.UseSimpleAssemblyNameTypeSerializer()
|
||||
|
@ -140,7 +145,7 @@ namespace API
|
|||
|
||||
app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||
{
|
||||
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
|
||||
ForwardedHeaders = ForwardedHeaders.All
|
||||
});
|
||||
|
||||
app.UseRouting();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue