neilenns / react-access-code-map

Access code map written using React
MIT License
0 stars 0 forks source link

Fix CORS issues #31

Closed neilenns closed 1 year ago

neilenns commented 1 year ago

With the server running on tom and the client on a different machine all the requests to the server fail with Not allowed by CORS in server.mjs.

Gonna have to update the server to allow requests to the hosted site name, configurable via the docker-compose file I guess.