This commit is contained in:
Matteo Pagliazzi 2017-09-29 12:39:18 +02:00
parent 895a383089
commit cf3a0118c9

View file

@ -4,7 +4,7 @@ import path from 'path';
const IS_PROD = nconf.get('IS_PROD');
// const IS_NEW_CLIENT_ENABLED = nconf.get('NEW_CLIENT_ENABLED') === 'true';
const MAX_AGE = true ? 31536000000 : 0;
const MAX_AGE = IS_PROD ? 31536000000 : 0;
const ASSETS_DIR = path.join(__dirname, '/../../assets');
const PUBLIC_DIR = path.join(__dirname, '/../../client-old'); // TODO static files are still there
const BUILD_DIR = path.join(__dirname, '/../../build');