m4ndycheung / cyf-stay-tuned-radio

https://stay-tuned-radio-frontend.onrender.com
Other
3 stars 3 forks source link

Bug: CORs issue when renewing Render Database #106

Open m4ndycheung opened 3 months ago

m4ndycheung commented 3 months ago

I'm writing a note on this so we can check it if it happens next time and we forget!

Christina Identified a CORs issue with the project when she was renewing the DB.

The code was unchanged.

The .env variable were copied over correctly.

The DB connected correctly.

The issue was that the /login and /callback Endpoints were commented out in the server.js code. We have now uncommented this - shouldn't run into the issue again.