CORS error and siteRoot (solved)October 18, 2018 at 12:16am
I couldn't find this written anywhere else so this is for other folks who may run into this problem.
I was getting CORS errors and 404's on all navigation links after I added a siteRoot in the static.config file - something to do with the routeInfo.json files. Anyway, it was because I entered my siteRoot as
https://my-site.com instead of
https://www.my-site.com (I'm using www subdomain by default).