Skip to content

Workflow/step3 #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2. 修改项目7,可以缓存项目6的搜索结果
3. 修改项目6,当有新的数据被加入时,清除掉相应的缓存数据

更多详细信息请参考:https://github.com/qcourse/node-project-8/wiki
更多详细信息请参考:https://github.com/qcourse/node-project-8/wiki
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "project7.qcourse.net",
"name": "project8.qcourse.net",
"version": "1.0.0",
"description": "",
"main": "server.js",
Expand All @@ -13,6 +13,7 @@
"express": "^4.13.4",
"method-override": "^2.3.6",
"morgan": "^1.7.0",
"request": "^2.72.0"
"request": "^2.72.0",
"redis": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.use('/', function(req, res) {
bodyChunks.push(chunk);
}).on('end', function() {
var body = Buffer.concat(bodyChunks);
//*****do somethings
require('./handle/list').addRedisALL(req,res,body);
});
}).pipe(res);
});
Expand Down