Closed market-south closed 2 years ago
I was about to say, that's the reason for the nodeUri
option, so that you can have a relative URL for this very purpose. I haven't looked at what SEOMatic is doing, but will look into it.
My recommendation is to stick with nodeUri
.
What are you trying to do? GraphiQL query to return the node details with custom URL.
Currently, when we perform the GraphiQL query to return the node details of navigation (query as below). We are getting the response as expected without any issues.
Feature request: The URL field is returning the whole URL of the subdomain (request below) Craft is hosted in a subdomain whereas the official site is hosted in the primary domain running on Next Js and uses GraphiQL to get the contents. Though we have achieved the requirement using the nodeUri field It will be too handy and flexible if we have the option to override the Site Url for the URL field.
What's your proposed solution?
To have an option to perform site URL override. SEomatic plugin is a good example of this feature.
Additional context Add any other context or screenshots about the feature request here.
GraphiQl response below