rollback change which moved ConfigureOqtaneAssemblies(env);
This commit is contained in:
@ -195,6 +195,9 @@ namespace Oqtane
|
|||||||
app.UseHsts();
|
app.UseHsts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// execute any IServerStartup logic
|
||||||
|
app.ConfigureOqtaneAssemblies(env);
|
||||||
|
|
||||||
// allow oqtane localization middleware
|
// allow oqtane localization middleware
|
||||||
app.UseOqtaneLocalization();
|
app.UseOqtaneLocalization();
|
||||||
|
|
||||||
@ -245,9 +248,6 @@ namespace Oqtane
|
|||||||
.AddAdditionalAssemblies(typeof(SiteRouter).Assembly);
|
.AddAdditionalAssemblies(typeof(SiteRouter).Assembly);
|
||||||
});
|
});
|
||||||
|
|
||||||
// execute any IServerStartup logic
|
|
||||||
app.ConfigureOqtaneAssemblies(env);
|
|
||||||
|
|
||||||
// simulate the fallback routing approach of traditional Blazor - allowing the custom SiteRouter to handle all routing concerns
|
// simulate the fallback routing approach of traditional Blazor - allowing the custom SiteRouter to handle all routing concerns
|
||||||
app.UseEndpoints(endpoints =>
|
app.UseEndpoints(endpoints =>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user