mirror of
/repos/Prototyper.git
synced 2026-02-27 16:12:00 +01:00
added compress
This commit is contained in:
2
deployit
2
deployit
@@ -7,7 +7,7 @@ npm install -g http://github.com/aikomastboom/fleet/archive/0.1.9.tar.gz
|
||||
fi
|
||||
|
||||
# deploy new commit
|
||||
fleet-deploy && fleet-exec -- npm --cache-min=99999 install && fleet-exec -- npm rebuild bson
|
||||
fleet-deploy && fleet-exec -- npm --cache-min 99999 install && fleet-exec -- npm rebuild bson
|
||||
|
||||
#DEPLOYED_COMMIT=${git log -n 1 | head -n 1 | cut -d " " -f 2}
|
||||
# stop running one
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
"devDependencies": {
|
||||
"sockjs": "~0.3.7",
|
||||
"chai": "*",
|
||||
"mocha": "*"
|
||||
"mocha": "*",
|
||||
"sinon": "*"
|
||||
},
|
||||
"repository": "git://github.com/aikomastboom/Prototyper.git",
|
||||
"author": "Aiko Mastboom",
|
||||
|
||||
@@ -62,6 +62,8 @@ config.debug && console.log('config loaded');
|
||||
|
||||
var app = express();
|
||||
config.debug && app.use(connect.logger());
|
||||
app.use(express.compress());
|
||||
|
||||
if (!process.env.NODE_ENV) {
|
||||
app.get('/favicon.ico', function (req, res) {
|
||||
res.sendfile(config.statics.dev_favicon_path);
|
||||
|
||||
Reference in New Issue
Block a user