vulcan/hexoserver.js
2017-09-01 10:05:30 +01:00

14 lines
236 B
JavaScript

const server=require('node-http-server');
server.deploy(
{
port:4000,
root:'./public/'
},
serverReady
);
function serverReady(server){
console.log( `Server on port ${server.config.port} is now up`);
}