Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
Further amends to return to booting application.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
private readonly IHostingEnvironment _hostingEnvironment;
|
||||
|
||||
public RedirectUrlManagementController(ILogger logger,
|
||||
IOptionsSnapshot<WebRoutingSettings> webRoutingSettings,
|
||||
IOptions<WebRoutingSettings> webRoutingSettings,
|
||||
IWebSecurity webSecurity,
|
||||
IRedirectUrlService redirectUrlService,
|
||||
UmbracoMapper umbracoMapper,
|
||||
|
||||
Reference in New Issue
Block a user