api whitelist problem with Bedrock installation
-
Hi Michiel,
Your plugin works great, but I did find an issue when trying to whitelist a custom api route on my Bedrock site.
The problem comes when the plugin gets here: /web/app/plugins/api-bearer-auth/api-bearer-auth.php:185
In Bedrock, get_site_url() will return “www.mysite.com/wp” which is the location of the core WordPress files. I manually changed it to get_home_url() and it works.
Is this something you can change?
Thanks,
John
- The topic ‘api whitelist problem with Bedrock installation’ is closed to new replies.