Browse files

v6.6.7. Improvement.

- v6.6.7 September 28, 2012
	- Added built-in support for AppFog and CloudFoundry ports
  • Loading branch information...
1 parent d1016ad commit 4240cbbbcddeea58b8ba1fe474850512fc7b1b44 @balupton balupton committed Sep 28, 2012
Showing with 8 additions and 2 deletions.
  1. +3 −0 History.md
  2. +1 −1 package.json
  3. +4 −1 src/lib/docpad.coffee
View
3 History.md
@@ -1,5 +1,8 @@
## History
+- v6.6.7 September 28, 2012
+ - Added built-in support for AppFog and CloudFoundry ports
+
- v6.6.6 September 24, 2012
- Further improved file text/binary detection
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "docpad",
- "version": "6.6.6",
+ "version": "6.6.7",
"description": "DocPad is a language agnostic document management system. This means you write your website as documents, in whatever language you wish, and DocPad will handle the compiling, templates and layouts for you. For static documents it will generate static files, for dynamic documents it'll re-render them on each request. You can utilise DocPad by itself, or use it as a module your own custom system. It's pretty cool, and well worth checking out. We love it.",
"homepage": "https://github.com/bevry/docpad",
"keywords": [
View
5 src/lib/docpad.coffee
@@ -542,7 +542,10 @@ class DocPad extends EventEmitterEnhanced
# Port
# The port that the server should use
- port: process.env.PORT ? 9778
+ # VCAP_APP_PORT - AppFog
+ # VMC_APP_PORT - CloudFoundry
+ # PORT - Heroku, Nodejitsu
+ port: process.env.VCAP_APP_PORT ? process.env.VMC_APP_PORT ? process.env.PORT ? 9778
# Max Age
# The caching time limit that is sent to the client

0 comments on commit 4240cbb

Please sign in to comment.