Fix main pages customization

Co-authored-by: fvn-linagora <fvignon@linagora.com>
This commit is contained in:
Nicolas Parquet 2018-02-09 16:17:40 +01:00
parent ea7a3c75fa
commit 3b46578621
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ Fs.exists(__dirname + "/customize", function (e) {
var mainPages = config.mainPages || ['index', 'privacy', 'terms', 'about', 'contact'];
var mainPagePattern = new RegExp('^\/(' + mainPages.join('|') + ').html$');
app.get(mainPagePattern, Express.static(__dirname + '/customize'));
app.get(mainPagePattern, Express.static(__dirname + '/customize.dist'));
app.use("/blob", Express.static(Path.join(__dirname, (config.blobPath || './blob')), {