Commit project
This commit is contained in:
parent
28471965a0
commit
3ac017a5ad
1030 changed files with 94062 additions and 0 deletions
12
node_modules/nodemon/docs/index.js
generated
vendored
Normal file
12
node_modules/nodemon/docs/index.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
var http = require('http'),
|
||||
fs = require('fs');
|
||||
|
||||
var page = fs.readFileSync(__dirname + '/index.html', 'utf8');
|
||||
|
||||
var server = http.createServer(function (req, res) {
|
||||
res.writeHead(200, { 'content-type': 'text/html' });
|
||||
res.end(page);
|
||||
}).listen(process.env.PORT || 0, function () {
|
||||
console.log('Listening on http://localhost:' + server.address().port);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue