changed port to use environment variable
parent
a6738a8c33
commit
78d50ff3be
2
index.js
2
index.js
|
@ -7,7 +7,7 @@ service = new turndown();
|
||||||
|
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
const app = express()
|
const app = express()
|
||||||
const port = 4040
|
const port = process.env.PORT
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
url = req.query.url;
|
url = req.query.url;
|
||||||
|
|
Loading…
Reference in New Issue