CORS errors.

Azure Functions suddenly throwing CORS errors when ran locally? Easy fix(es)!

In this article, I’m listing the quick fixes to your Azure Functions suddenly throwing seemingly random and very unexpected CORS errors. I have run into this so many times that I had to list these (admittedly simple) fixes in order of importance purely for myself – but perhaps some of these will help you as well! 😁 CORS issues can be frustrating but the issue is usually, simple to fix – as long as you know what you are doing. But first, let’s take a…Continue reading Azure Functions suddenly throwing CORS errors when ran locally? Easy fix(es)!

Damn you, WordPress!

How to modify CORS settings using a .htaccess file

Recently, I needed to host a web-based thingamajiggy in WordPress and needed to include a couple of custom libraries. For the sake of quick iteration, I decided to use a public FTP folder that I already had on the same server in order to host this. So I had configured a subdomain to host the files, and wanted to reference them from my WordPress site. Not quite a CDN, but something a little bit like that. Well, of course, I ran into an issue again.…Continue reading How to modify CORS settings using a .htaccess file