Move module startup install up to allow install middleware
This commit is contained in:
		| @ -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); | ||||
|  | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Pavel Vesely
					Pavel Vesely