Skip to content

Commit

Permalink
get port from env
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-work committed Jun 5, 2024
1 parent 8ddfb0f commit 989c002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const express = require("express");
var cors = require("cors");

const app = express();
const port = 8090;
const port = process.env.PORT || 8090;

const got = require("got");
const twitter = require("twitter-text");
Expand Down

0 comments on commit 989c002

Please sign in to comment.