CORS issue with inay-api
Hello Rich-
Thanks again for your help with the Inlay Pay issue! Thanks also for your amazing work with the Inlay extension, this will be a great solution for us once we get a few kinks worked out.
To preface, we are running the latest version of the extension on CiviCRM 5.43.2. We are running CiviCRM behind an OpenVPN-based intranet, but is on the same host as our public facing website (running Grav CMS). We were able to successfully expose the inlay form by replacing the URL address in the embed code with a directory path to the inlay js file (aliased in Nginx). However, the form submit button code still wants to call the VPN URL (i.e. 'http://10.x.x.1/drupal/civicrm/inlay-api), which gets blocked by CORS ("error":"Disallowed CORS Origin").
Is there a parameter or setting that can be changed to call inlay-api locally via a directory path rather than by URL (since it is on the same host)?
Thanks, Kobi (Protologue, LLC)