diff --git a/Oqtane.Server/Startup.cs b/Oqtane.Server/Startup.cs index b47cdd4f..183547d2 100644 --- a/Oqtane.Server/Startup.cs +++ b/Oqtane.Server/Startup.cs @@ -222,6 +222,8 @@ namespace Oqtane // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } + // to allow install middleware it should be moved up + app.ConfigureOqtaneAssemblies(env); app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseBlazorFrameworkFiles(); @@ -240,7 +242,7 @@ namespace Oqtane endpoints.MapControllers(); endpoints.MapFallbackToPage("/_Host"); }); - app.ConfigureOqtaneAssemblies(env); + } } }