aboutsummaryrefslogtreecommitdiff
path: root/plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs')
-rw-r--r--plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs b/plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs
index ef7836f..8370806 100644
--- a/plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs
+++ b/plugins/VNLib.Plugins.Essentials.Content.Routing/src/PageRouterEntry.cs
@@ -41,7 +41,7 @@ namespace VNLib.Plugins.Essentials.Content.Routing
public void ConfigureServices(IServiceContainer services)
{
//Deploy the page router to the host
- services.AddService(typeof(IPageRouter), PageRouter);
+ services.AddService<IPageRouter>(PageRouter);
}
protected override void OnLoad()