diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index 1dbe700e31..2f3a3f33df 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -76,7 +76,7 @@ Neos: metaData: contextPath: '${q(documentNode).property("_contextPath")}' siteNode: '${q(site).property(''_contextPath'')}' - previewUrl: '${Neos.Ui.NodeInfo.uri(q(documentNode).context({workspaceName: "live"}).get(0), controllerContext)}' + previewUrl: '${Neos.Ui.NodeInfo.uri(q(documentNode).context({workspaceName: documentNode.context.workspace.baseWorkspace.name}).get(0), controllerContext)}' contentDimensions: active: '${documentNode.context.dimensions}' allowedPresets: '${Neos.Ui.ContentDimensions.allowedPresetsByName(documentNode.context.dimensions)}'