I have a site with multiple "multisite" sites.
When using the Element-api endpoint it only creates it for the base url.
So if we have example.com and sub.example.com, element-api endpoint only gets created for example.com.
The issue is that we have cross-domain policy that won't let the basic example.com urls load on the sub.example.com.
Is there a way to set the endpoint to create/use the currentSite url?
Steps to reproduce
Create endpoints via the element-api.php file
Load sub-domain site and get errors about cross domain loading.
Description
I have a site with multiple "multisite" sites. When using the Element-api endpoint it only creates it for the base url. So if we have example.com and sub.example.com, element-api endpoint only gets created for example.com. The issue is that we have cross-domain policy that won't let the basic example.com urls load on the sub.example.com.
Is there a way to set the endpoint to create/use the currentSite url?
Steps to reproduce
Additional info