mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 19:37:23 +01:00
add http context accessor
This commit is contained in:
parent
e496e7161c
commit
4b2ba13857
1 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ public class Startup
|
|||
{
|
||||
var mareConfig = _configuration.GetRequiredSection("MareSynchronos");
|
||||
|
||||
services.AddHttpContextAccessor();
|
||||
|
||||
ConfigureRedis(services, mareConfig);
|
||||
|
||||
services.AddSingleton<SecretKeyAuthenticatorService>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue