This commit is contained in:
2020-04-06 20:24:51 +00:00
parent 5f92294b44
commit 26d954c567
2 changed files with 25 additions and 0 deletions

View File

@@ -316,6 +316,15 @@ namespace AyaNova
ForwardedHeaders = Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders.XForwardedFor | Microsoft.AspNetCore.HttpOverrides.ForwardedHeaders.XForwardedProto
});
//If want to add a header to all (or filtered in here) requests
// app.Use(async (context, next) =>
// {
// context.Response.Headers.Add("X-Developed-By", "Ground Zero Tech-Works inc.");
// await next.Invoke();
// });
#region STATIC FILES
_newLog.LogDebug("BOOT: pipeline - static files");
app.UseDefaultFiles();