I got the email to update my whitelist domains, and to use a wildcard. However, Xano’s CORS management doesn’t support a * wildcard inside a domain.
I’ve tried several things - adding the full subdomain uuid from my editor address bar to the allow list, and adding things like editor-cdn.weweb.io to the list since that’s what the error says the request comes from, but nothing helps aside from turning CORS off all together which is not something I intend to do.
How has anyone else fixed this? I’ve already lost half a workday due to a stupid change and getting really frustrated with this.
Because the origins in xano don’t support the * wildcard. So editor.weweb.io/ would work and would allow anything after the / but the new subdomain structure isn’t supported by xano in that way, it seems
Yes because those header settings work before the domain changed. In fact, it still works on the published site, which is why I was pretty sure the problem wasn’t in the headers.
I just discovered the problem is in having a / in the end of the url!
Don’t know if it is specifically related to CORS, but the new update did make any Xano calls where I added custom header parameters (eg. source page name) stopped working. I had to remove these parameters for the calls to work again.