Register session service and middleware
This commit is contained in:
@@ -35,6 +35,9 @@ namespace Umbraco.Extensions
|
||||
app.UseImageSharp();
|
||||
app.UseStaticFiles();
|
||||
|
||||
// Must be called after UseRouting and before UseEndpoints
|
||||
app.UseSession();
|
||||
|
||||
if (!app.UmbracoCanBoot()) return app;
|
||||
|
||||
app.UseEndpoints(endpoints =>
|
||||
|
||||
Reference in New Issue
Block a user