Closed saifahn closed 3 years ago
Currently, the front end and back end will be running from different domains (different ports on localhost locally), so CORS needs to be allowed so that they can communicate with one another.
Here is the CORS middleware for go-chi?
https://github.com/go-chi/cors
Overview
Currently, the front end and back end will be running from different domains (different ports on localhost locally), so CORS needs to be allowed so that they can communicate with one another.