Merge remote-tracking branch 'origin/release/14.0' into v14/dev
This commit is contained in:
@@ -139,9 +139,9 @@ public class UmbracoRouteValueTransformer : DynamicRouteValueTransformer
|
||||
HttpContext httpContext, RouteValueDictionary values)
|
||||
{
|
||||
// If we aren't running, then we have nothing to route. We allow the frontend to continue while in upgrade mode.
|
||||
if (_runtime.Level != RuntimeLevel.Run && _runtime.Level != RuntimeLevel.Upgrade && !httpContext.Request.IsClientSideRequest())
|
||||
if (_runtime.Level != RuntimeLevel.Run && _runtime.Level != RuntimeLevel.Upgrade)
|
||||
{
|
||||
if (_runtime.Level == RuntimeLevel.Install)
|
||||
if (_runtime.Level == RuntimeLevel.Install && !httpContext.Request.IsClientSideRequest())
|
||||
{
|
||||
return new RouteValueDictionary()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user