Avdhesh-Varshney / chanakya-niti-backend

A digital platform leveraging AI to provide accessible and engaging content on the teachings of Chanakya, an ancient Indian philosopher.
https://chanakya-niti-backend.onrender.com
MIT License
5 stars 9 forks source link

Fix port #38

Closed Edasgh closed 2 weeks ago

Edasgh commented 3 weeks ago

Regarding the PR : https://github.com/Avdhesh-Varshney/chanakya-niti-backend/pull/36

I forgot to remove the localhost port & to add necessary variables in .env file

Changes :

  1. In the file "routes/auth.js" : Added the BACKEND_URL from the .env file and removed the "http://localhost:8080" route,
  2. In the file ".env.example" : Added the necessary env variables that are required

@Avdhesh-Varshney please check this PR