Skip to content

Commit

Permalink
changes for 0.3.0beta
Browse files Browse the repository at this point in the history
  • Loading branch information
dbashford committed Oct 21, 2012
1 parent ed0da44 commit 07433d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ exports.startServer = (config) ->
index = (useReload, optimize) ->
options =
reload: config.server.useReload
optimize: config.optimize ? false
optimize: config.isOptimize ? false
cachebust: if process.env.NODE_ENV isnt "production" then "?b=#{(new Date()).getTime()}" else ''
(req, res) -> res.render 'index', options

app.get '/', index(useReload, config.optimize)
app.get '/', index(useReload, config.isOptimize)

app.get '/people', (req, res) -> res.json people

Expand Down

0 comments on commit 07433d7

Please sign in to comment.