diff options
Diffstat (limited to 'plugins/VNLib.Plugins.Essentials.Content.Routing/src')
-rw-r--r-- | plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs b/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs index 31f1e0e..fdf5f59 100644 --- a/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs +++ b/plugins/VNLib.Plugins.Essentials.Content.Routing/src/Router.cs @@ -54,6 +54,12 @@ namespace VNLib.Plugins.Essentials.Content.Routing RouteTable = new(); } + public Router(PluginBase plugin, IConfigScope config) + { + Store = new(plugin.GetContextOptions()); + RouteTable = new(); + } + ///<inheritdoc/> public async ValueTask<FileProcessArgs> RouteAsync(HttpEntity entity) { |