Merge pull request #5303 from sbwalker/dev

move ConfigureOqtaneAssemblies to occur before UseEndpoints
This commit is contained in:
Shaun Walker 2025-05-14 11:13:12 -04:00 committed by GitHub
commit 84844c5043
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,9 +195,6 @@ namespace Oqtane
app.UseHsts();
}
// execute any IServerStartup logic
app.ConfigureOqtaneAssemblies(env);
// allow oqtane localization middleware
app.UseOqtaneLocalization();
@ -228,6 +225,9 @@ namespace Oqtane
app.UseAuthorization();
app.UseAntiforgery();
// execute any IServerStartup logic
app.ConfigureOqtaneAssemblies(env);
if (_useSwagger)
{
app.UseSwagger();