Skip to content

Commit

Permalink
reload features middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
GeeksSpan committed Mar 15, 2022
1 parent 6b02f86 commit 4e9877b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion App_Start/HubStartup.cs
Expand Up @@ -64,12 +64,13 @@ public override void Configure(IApplicationBuilder app)
Feature.DataProvider.Register();
Service.DataProvider.Register();
Board.DataProvider.Register();
StructureDeserializer.ReloadFeatures();

}

protected override void ConfigureMiddlewares(IApplicationBuilder app)
{
app.UseGlobalSearch<GlobalSearchSource>();
StructureDeserializer.ReloadFeatures();
// app.Use(RedirectSmartPhone);
base.ConfigureMiddlewares(app);
}
Expand Down
2 changes: 1 addition & 1 deletion Olive.Microservices.Hub.csproj
Expand Up @@ -8,7 +8,7 @@
<Authors>Geeks Ltd</Authors>
<RepositoryUrl>https://github.com/Geeksltd/Olive.Microservices.Hub/tree/master/Olive.Microservices.Hub</RepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
<Version>1.3.13</Version>
<Version>1.3.14</Version>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
</PropertyGroup>
Expand Down

0 comments on commit 4e9877b

Please sign in to comment.