I have HTTP functions that return data to various other Wix sites. They have all stopped working and I've determined this is because Access-Control-Allow-Origin is not being sent.
case 'homepage-calendar': response.body = await getHomepageCalendar(); response.headers['X-Access-Control-Allow-Origin'] = "*"; //this is sent response.headers['Access-Control-Allow-Origin'] = '*'; //this isn't return ok(response);
As per comments, a custom header gets sent, but the CORS header does not.
Is anyone else getting this? This has always worked, but now doesn't.