So if we build from anywhere other than the server, we get the following error:
XMLHttpRequest cannot load http://192.81.218.23:3000/api/races. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Kind of annoying...I suspect the answer has something to do with the Cors module...could be an interesting problem.
So if we build from anywhere other than the server, we get the following error:
Kind of annoying...I suspect the answer has something to do with the Cors module...could be an interesting problem.