Closed cairinmisa closed 4 years ago
Fixed the issue. Mainly was issues with the configuration file in NGINX, as well as the HOST variables in the Frontend. Everything else is good! Just need someone to test it. Testing will just involve logging in and doing a few things on the website. (Current PROD build is old)
Elijah could test it out - logging in and editing his details on the profile page. All looks good.
CURL command works for making requests to MongoDB. Can't make any requests from the frontend website, it provides the error:
Google Chrome: Manifest: Line: 26, column: 1, Unexpected data after root element
xhr.js:184 POST http://localhost:8000/profile/login net::ERR_CONNECTION_REFUSED
Mozilla Firefox: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8000/profile/login. (Reason: CORS request did not succeed). Error: Network Error