5 lines
189 B
JavaScript
5 lines
189 B
JavaScript
var connect = require('connect');
|
|
var serveStatic = require('serve-static');
|
|
connect().use(serveStatic(__dirname)).listen(8080, function(){
|
|
console.log('Server running on 8080...');
|
|
}); |