Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

React Static

A fast, lightweight, and powerful framework for building static-progressive React applications and websites.

React Static / General

CORS error and siteRoot (solved)

CORS error and siteRoot (solved)

React Static / General · 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 instead of (I'm using www subdomain by default).
No messages have been sent in this conversation yet—why don’t you kick things off below?

Log in or sign up to chat