瀏覽代碼

fix

master
mortie 7 年之前
父節點
當前提交
1b1788dc0e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      index.js
  2. 1
    1
      package.json

+ 1
- 1
index.js 查看文件

@@ -13,7 +13,7 @@ function template(tpml, args) {
}

function resJson(obj) {
res.writeHead(200, {
this.writeHead(200, {
"content-type": "application/json"
});
this.end(JSON.stringify(obj));

+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
{
"name": "webframe",
"version": "0.2.0",
"version": "0.2.1",
"description": "Web server.",
"main": "index.js",
"scripts": {

Loading…
取消
儲存