vulcan/hexoserver.js

14 lines
236 B
JavaScript
Raw Normal View History

2017-09-01 09:05:30 +00:00
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`);
}