From 78d50ff3be2dae7bbef874329590a0fa7a38f89b Mon Sep 17 00:00:00 2001 From: Lee Hanken Date: Sat, 8 Jan 2022 17:28:18 +0000 Subject: [PATCH] changed port to use environment variable --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index dabe0b9..2866de3 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ service = new turndown(); const express = require('express') const app = express() -const port = 4040 +const port = process.env.PORT app.get('/', (req, res) => { url = req.query.url;