File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424use Neos \Flow \Mvc ;
2525use Neos \Flow \Core \Bootstrap ;
2626use Neos \Neos \FrontendRouting \NodeUriBuilderFactory ;
27+ use Neos \Neos \FrontendRouting \Options ;
2728use PackageFactory \AtomicFusion \PresentationObjects \Fusion \UriServiceInterface ;
2829use Psr \Http \Message \UriInterface ;
2930
@@ -46,7 +47,7 @@ public function __construct(
4647 public function getNodeUri (Node $ documentNode , bool $ absolute = false , ?string $ format = null ): UriInterface
4748 {
4849 return $ this ->nodeUriBuilderFactory ->forActionRequest ($ this ->getControllerContext ()->getRequest ())
49- ->uriFor (NodeAddress::fromNode ($ documentNode ));
50+ ->uriFor (NodeAddress::fromNode ($ documentNode ), $ absolute ? Options:: createForceAbsolute () : null );
5051 }
5152
5253 public function getResourceUri (string $ packageKey , string $ resourcePath ): UriInterface
You can’t perform that action at this time.
0 commit comments