【转】nodejs怎么把html以源码的形式在网页中显示了,而不是解析它。
html文件头写成了text/plain, 改成 response.writeHead(200, {“Content-Type”: “text/html”});
原回答网址:http://cnodejs.org/topic/51fb840744e76d216aa20f25
html文件头写成了text/plain, 改成 response.writeHead(200, {“Content-Type”: “text/html”});
原回答网址:http://cnodejs.org/topic/51fb840744e76d216aa20f25