summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app.js b/app.js
index 5810af7..115b0bf 100644
--- a/app.js
+++ b/app.js
@@ -4,7 +4,7 @@
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
-const PORT = 4000;
+const PORT = 7777;
// set the public folder to public acess and added a body parser
app.use(express.static('public'));
@@ -25,5 +25,4 @@ app.get('/visit', visit);
app.post('/search', search);
// app start
-app.listen(PORT);
-console.log('Server is listening on port ' + PORT);
+app.listen(PORT); \ No newline at end of file