Commit Graph

4 Commits

Author SHA1 Message Date
Tajeddine Alaoui
b4dbd8ce86
fix: add port fallback (#23)
Add fallback to port 3000, if PORT in env is not defined
2022-04-11 16:59:37 +01:00
Zaid Ali
38d1c3b9f6
fix: add dotenv package for environment (#18)
* Added "dotenv" dependency to package.json

Since the project is using .env file for fetching the port, it had no "dotenv" dependency. This creates confusion when "process.env.PORT" doesn't work. I hope this is convenient for beginners 👍

* Update server.js

Added a line to import `dotenv` dependency to server.js.

* Update package-lock.json

I have added the dotenv dependency to package-lock.json file as requested. I hope it's good now
2021-01-18 23:37:17 +00:00
Ihsan Topaloglu
ad618b45b1
Corrected CORS configuration option 2020-09-19 00:03:40 -04:00
System
e5bf4cdcca Initial commit from Gomix. 2017-02-18 18:55:28 +00:00