Permit to run code in async scope in the OCPP stack
[e-mobility-charging-stations-simulator.git] / src / ui / web / start.js
index e804fc11484b6cf2c7a36f604bd070fa69b7f6c5..0078cb5e6d0cb2a1364ec8a145f21f6a486bf241 100644 (file)
@@ -4,7 +4,7 @@ const path = require('path'),
   serveStatic = require('serve-static');
 
 const PORT = process.env.PORT || 3030,
-  uiPath = path.join(__dirname, './dist/');
+  uiPath = path.join(__dirname, './dist');
 
 const serve = serveStatic(uiPath);
 
@@ -12,4 +12,4 @@ const server = http.createServer(function onRequest(req, res) {
   serve(req, res, finalhandler(req, res));
 });
 
-server.listen(PORT, () => console.info(`http://localhost:${PORT}`));
+server.listen(PORT, () => console.info(`App running at: http://localhost:${PORT}`));