Merge pull request #5300 from sbwalker/dev

rollback change which moved ConfigureOqtaneAssemblies
This commit is contained in:
Shaun Walker
2025-05-13 16:39:08 -04:00
committed by GitHub

View File

@ -195,6 +195,9 @@ namespace Oqtane
app.UseHsts();
}
// execute any IServerStartup logic
app.ConfigureOqtaneAssemblies(env);
// allow oqtane localization middleware
app.UseOqtaneLocalization();
@ -245,9 +248,6 @@ namespace Oqtane
.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
app.UseEndpoints(endpoints =>
{