Compare commits
1 Commits
1ed3d235cd
...
d5c6745e2a
Author | SHA1 | Date |
---|---|---|
Shadowfacts | 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