Test new home page

This commit is contained in:
yflory
2017-01-16 18:28:37 +01:00
parent a9063e0459
commit 6652e9d6d9
22 changed files with 644 additions and 187 deletions

View File

@@ -47,7 +47,7 @@ Fs.exists(__dirname + "/customize", function (e) {
// FIXME I think this is a regression caused by a recent PR
// correct this hack without breaking the contributor's intended behaviour.
var mainPages = config.mainPages || ['index', 'privacy', 'terms', 'about'];
var mainPages = config.mainPages || ['index', 'privacy', 'terms', 'about', 'contact'];
var mainPagePattern = new RegExp('^\/(' + mainPages.join('|') + ').html$');
app.get(mainPagePattern, Express.static(__dirname + '/customize.dist'));