Node.js: renamed "require_shim" to "loader".
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
const http = require("http");
|
||||
|
||||
http.createServer(function (req, res) {
|
||||
res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
|
||||
.end('Hello World\n');
|
||||
}).listen(7080);
|
||||
|
||||
module.exports = http;
|
||||
Reference in New Issue
Block a user