Skip to content

Commit

Permalink
Fixes for LESS, updates for Copenhagen.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwichary committed Dec 23, 2014
1 parent 083c122 commit c3f493c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ var startApp = function() {

app.use(express.compress());

app.use(lessMiddleware({
src: __dirname + '/public',
app.use(lessMiddleware(__dirname + '/public', {
compress: (process.env.NODE_ENV == 'production'),
once: (process.env.NODE_ENV == 'production')
}));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"dependencies": {
"express": "3.0.6",
"less-middleware": "0.1.9",
"less-middleware": "1.0.4",
"fs-tools": "0.2.8",
"config": "0.4.18"
},
Expand Down
2 changes: 1 addition & 1 deletion public/data/copenhagen.geojson

Large diffs are not rendered by default.

0 comments on commit c3f493c

Please sign in to comment.