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