Skip to content

Commit a520b86

Browse files
habdelratomdale
authored andcommitted
including the entire response object in cache.put (#7)
1 parent 30e0133 commit a520b86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/express-http-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ExpressHTTPServer {
7474
res.send = (body) => {
7575
let ret = send(body);
7676

77-
this.cache.put(path, body)
77+
this.cache.put(path, body, res)
7878
.then(() => {
7979
this.ui.writeLine(`stored in cache; path=${path}`);
8080
})

0 commit comments

Comments
 (0)