摘要:
require('http').createServer(function(input, echo) { echo.writeHead(200, { 'Content-Type': 'text/plain' }); var index=require('my/index.js'); echo.write( index.show()); echo.end();}).listen(1337, "127.0.0.1");console.log('<<Server running at http:/ 阅读全文