don't default to app volume mount; create s3 bucket on boot; fix revAll gulp step

This commit is contained in:
Lukas F. Hartmann
2017-04-07 18:01:23 +02:00
parent 03059b67f1
commit 820203625c
5 changed files with 12 additions and 14 deletions

2
app.js
View File

@@ -47,7 +47,7 @@ swig.setFilter('cdn', function(input, idx) {
app.engine('html', swig.renderFile);
app.set('view engine', 'html');
if (app.get('env') != 'development') {
if (isProduction) {
app.set('views', path.join(__dirname, 'build', 'views'));
app.use(favicon(path.join(__dirname, 'build', 'assets', 'images', 'favicon.png')));
app.use(express.static(path.join(__dirname, 'build', 'assets')));