mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 01:47:30 +01:00
don't default to app volume mount; create s3 bucket on boot; fix revAll gulp step
This commit is contained in:
2
app.js
2
app.js
@@ -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')));
|
||||
|
||||
Reference in New Issue
Block a user