Permalink
Browse files

fix NODE_ENV, remove unused sessions

  • Loading branch information...
1 parent 792f4c1 commit a50276648958e21011abd625e0652ee6bfbe366e @ddollar ddollar committed Jun 13, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 lib/vulcan/cli.rb
  2. +1 −2 server/web.coffee
View
@@ -131,7 +131,7 @@ def update
system "git commit -m commit >/dev/null"
system "git push heroku -f master"
- heroku "config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} NODE_PATH=lib"
+ heroku "config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} NODE_PATH=lib NODE_ENV=production"
heroku "addons:add cloudant:oxygen"
end
end
View
@@ -11,8 +11,7 @@ db = require("cloudant").connect("make")
app = express.createServer(
express.logger()
express.cookieParser()
- express.bodyParser()
- express.session(secret:process.env.SECRET))
+ express.bodyParser())
app.post "/make", (req, res, next) ->
id = uuid()

0 comments on commit a502766

Please sign in to comment.