mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 16:54:14 +01:00
add httpcontextaccessor
This commit is contained in:
parent
0b68d199d0
commit
6da875713f
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ namespace MareSynchronosServer
|
|||
services.AddHostedService<FileCleanupService>();
|
||||
services.AddHostedService(provider => provider.GetService<SystemInfoService>());
|
||||
services.AddHostedService<DiscordBot>();
|
||||
services.AddHttpContextAccessor();
|
||||
|
||||
services.AddDatabaseDeveloperPageExceptionFilter();
|
||||
services.AddAuthentication(options =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue