在请求处理程序中,有效的同步版本如下:var fs = require("fs"); var filename = "./index.html"; var buf = fs.readFileSync(filename, "utf8")...
確定! 回上一頁