Compare commits
4
Commits
5db926f4c6
...
1.53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f27433a277 | ||
|
|
4954ead02d | ||
|
|
7294e5470f | ||
|
|
79eebea7b1 |
@@ -27,6 +27,13 @@ app.UseHealthChecks("/health", new HealthCheckOptions
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.MapStaticAssets();
|
app.MapStaticAssets();
|
||||||
|
app.Use((context, next) =>
|
||||||
|
{
|
||||||
|
if (context.Request.Host.Value!.Contains("midrandbooks.co.za", StringComparison.OrdinalIgnoreCase))
|
||||||
|
context.Request.Scheme = "https";
|
||||||
|
|
||||||
|
return next();
|
||||||
|
});
|
||||||
app.UseCookiePolicy();
|
app.UseCookiePolicy();
|
||||||
|
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
|
|||||||
Reference in New Issue
Block a user