Configure for production on DO.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ lib-cov
|
|||||||
*.swp
|
*.swp
|
||||||
.floo
|
.floo
|
||||||
.flooignore
|
.flooignore
|
||||||
|
builtAssets/
|
||||||
|
|
||||||
*.env
|
*.env
|
||||||
pids
|
pids
|
||||||
|
2
app.js
2
app.js
@ -102,6 +102,8 @@ app.use(connectAssets({
|
|||||||
path.join(__dirname, 'public/css'),
|
path.join(__dirname, 'public/css'),
|
||||||
path.join(__dirname, 'public/js')
|
path.join(__dirname, 'public/js')
|
||||||
],
|
],
|
||||||
|
build: false,
|
||||||
|
buildDir: false,
|
||||||
helperContext: app.locals
|
helperContext: app.locals
|
||||||
}));
|
}));
|
||||||
app.use(logger('dev'));
|
app.use(logger('dev'));
|
||||||
|
Reference in New Issue
Block a user