move ConfigureOqtaneAssemblies to occur before UseEndpoints
This commit is contained in:
parent
ffef1f4820
commit
9000f05961
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user