Use settings.root to anchor pathnames

This commit is contained in:
Richard Hansen 2021-02-10 01:21:29 -05:00 committed by John McLear
parent f868788417
commit a45e85a730
3 changed files with 7 additions and 7 deletions

View file

@ -32,7 +32,7 @@ const log4js = require('log4js');
const logger = log4js.getLogger('Minify');
const ROOT_DIR = path.normalize(`${__dirname}/../../static/`);
const ROOT_DIR = path.join(settings.root, 'src/static/');
const threadsPool = new Threads.Pool(() => Threads.spawn(new Threads.Worker('./MinifyWorker')), 2);