mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
Use settings.root
to anchor pathnames
This commit is contained in:
parent
f868788417
commit
a45e85a730
3 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue