Skip to content

Commit

Permalink
Cleanup for #3044
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Mar 11, 2016
1 parent 687a378 commit 23e333e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion API.md
@@ -1,4 +1,4 @@
# 13.1.x API Reference
# 13.2.x API Reference

- [Server](#server)
- [`new Server([options])`](#new-serveroptions)
Expand Down
4 changes: 3 additions & 1 deletion lib/transmit.js
Expand Up @@ -382,7 +382,9 @@ internals.cache = function (response) {

const request = response.request;

if (response.headers['cache-control'] || request.route.settings.cache === false ) {
if (response.headers['cache-control'] ||
!request.route.settings.cache) {

return;
}

Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "hapi",
"description": "HTTP Server framework",
"homepage": "http://hapijs.com",
"version": "13.1.0",
"version": "13.2.0",
"repository": {
"type": "git",
"url": "git://github.com/hapijs/hapi"
Expand Down

0 comments on commit 23e333e

Please sign in to comment.