some fixes

This commit is contained in:
2022-01-14 23:11:11 +01:00
parent 68c6a92c33
commit c9b49757c2
8 changed files with 22 additions and 11 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ internal class ZeroRoutingModule : ZeroModule
services.AddScoped<ILinkProvider, RawLinkProvider>();
services.AddTransient<ZeroRoutesTransformer>();
services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, NotFoundSelectorPolicy>());
services.AddScoped<IInterceptor, ZeroEntityRouteInterceptor>();
//services.AddScoped<IInterceptor, ZeroEntityRouteInterceptor>();
services.AddOptions<RoutingOptions>().Bind(configuration.GetSection("Zero:Routing"));