Permalink
Browse files

No obligation to put the url to listen and correct a bug with the one…

…Year variable which doesn't exist in production environment.
  • Loading branch information...
1 parent d05f707 commit 99f7d07d40a7c8ebda60fbac35cde93dea223447 @Atinux Atinux committed Jan 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app.coffee
View
@@ -116,7 +116,7 @@ app.configure "development", ->
app.configure "production", ->
app.use express.errorHandler()
- app.use(express.static(__dirname + '/public', { maxAge: oneYear }))
+ app.use(express.static(__dirname + '/public'))
app.set 'view options',
@@ -169,5 +169,5 @@ app.get('/info/:uid', (req, res) ->
)
#todo
-app.listen 8085, "127.0.0.1"
-console.log "Listening on 127.0.0.1:8085"
+app.listen 8085
+console.log "Listening on localhost:8085"

0 comments on commit 99f7d07

Please sign in to comment.