Skip to content

Commit

Permalink
"Remove streaming asset compressor"
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoodman committed Mar 12, 2012
1 parent 28cd61e commit 12f64ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.coffee
Expand Up @@ -7,7 +7,7 @@ app = module.exports = express.createServer()

app.use assets()
app.use gzippo.staticGzip("#{__dirname}/public")
app.use gzippo.compress()
#app.use gzippo.compress() # To be put back in when it has better caching support
app.use express.static("#{__dirname}/public")

app.use "/api/v1", require("./servers/api/v1")
Expand Down Expand Up @@ -45,4 +45,4 @@ app.get /^\/edit(?:\/([a-zA-Z0-9]{6})\/?$)?/, (req, res) ->

if require.main == module
app.listen process.env.PORT || 8080
console.log "Listening on port %d", process.env.PORT || 8080
conso

0 comments on commit 12f64ba

Please sign in to comment.