mirror of
https://github.com/KevinMidboe/seasonedRequest.git
synced 2026-07-24 02:22:20 +00:00
Added port varialbe
This commit is contained in:
@@ -11,7 +11,7 @@ app.use(history({
|
|||||||
index: '/'
|
index: '/'
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
var port = process.env.PORT || 5000;
|
||||||
|
|
||||||
app.get('/', function(req, res) {
|
app.get('/', function(req, res) {
|
||||||
res.sendFile(path.join(__dirname + '/index.html'));
|
res.sendFile(path.join(__dirname + '/index.html'));
|
||||||
|
|||||||
Reference in New Issue
Block a user