cleanly separate SiteState service for client and server use cases
This commit is contained in:
@ -74,7 +74,8 @@ namespace Oqtane
|
||||
|
||||
// register scoped core services
|
||||
services.AddScoped<IAuthorizationHandler, PermissionHandler>()
|
||||
.AddOqtaneScopedServices();
|
||||
.AddOqtaneScopedServices()
|
||||
.AddOqtaneServerScopedServices();
|
||||
|
||||
services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
|
||||
|
||||
|
Reference in New Issue
Block a user