Update
This commit is contained in:
parent
37ef8afb78
commit
d5c6745e2a
6
index.js
6
index.js
|
@ -13,7 +13,11 @@ const app = express();
|
||||||
|
|
||||||
// });
|
// });
|
||||||
|
|
||||||
const port = process.env.PORT || 3000;
|
app.get("/", (req, res) => {
|
||||||
|
res.end("Hello, world!");
|
||||||
|
});
|
||||||
|
|
||||||
|
const port = process.env.PORT || 8083;
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
console.log(`Listening on ${port}`);
|
console.log(`Listening on ${port}`);
|
||||||
});
|
});
|
Loading…
Reference in New Issue