From 2245199434083eaf7960c5422eacc7c2e0c87417 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Mon, 16 Jan 2023 14:40:33 +0100 Subject: [PATCH] path and port messages --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index ebe2d33..33aa0df 100644 --- a/index.js +++ b/index.js @@ -4,6 +4,7 @@ const express = require('express'); const app = express(); const clientPath = __dirname+'/../html'; +console.log('Serving static from ' + clientPath); app.use(express.static(clientPath)); const server = http.createServer(app); @@ -20,5 +21,5 @@ server.on('close', () => { }); server.listen(3000, () => { - console.log("Server running ...") + console.log('Server running on port 3000'); }); \ No newline at end of file