Skip to content

Commit 423d9fc

Browse files
committed
chore: change the default port to 3000
1 parent 910ef85 commit 423d9fc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ENV=local
2-
TOKEN=your-token
2+
TOKEN=your-token
3+
PORT=3000

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ENV=local
4040
An example of environment variable is provided [here](.env.example)
4141

4242
* Install dependency: `npm install`
43-
* Start the app `<list-of-env-and-values> npm run start-dev` and go to `http://localhost:5000`
43+
* Start the app `<list-of-env-and-values> npm run start-dev` and go to `http://localhost:3000`
4444

4545
## Feature tracker:
4646
You can see the feature progress and pick up some issues in the [issues](https://github.com/wildan3105/github-langs/issues) or [projects](https://github.com/wildan3105/github-langs/projects) or [milestones](https://github.com/wildan3105/github-langs/milestones)

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const app = require('./api/app');
22

3-
const server = app.listen(process.env.PORT || 5000, () => {
3+
const server = app.listen(process.env.PORT || 3000, () => {
44
console.log(`github-langs running on port: ${server.address().port}`);
55
});

0 commit comments

Comments
 (0)