【轉】nodejs怎麼把html以源碼的形式在網頁中顯示了,而不是解析它。

html文件頭寫成了text/plain, 改爲 response.writeHead(200, {「Content-Type」: 「text/html」}); html

原回答網址:http://cnodejs.org/topic/51fb840744e76d216aa20f25node

相關文章
相關標籤/搜索