mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
changed path dmpWorker.js -> dmpWorker.ts
Signed-off-by: Yannick Bungers <git@innay.de> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
8ed198ffcb
commit
c4178e5d77
2 changed files with 2 additions and 18 deletions
|
@ -24,7 +24,7 @@ class Data {
|
|||
}
|
||||
|
||||
function createDmpWorker (): ChildProcess {
|
||||
const worker = childProcess.fork(path.resolve(__dirname, '../workers/dmpWorker.js'), ['ignore'])
|
||||
const worker = childProcess.fork(path.resolve(__dirname, '../workers/dmpWorker.ts'), ['ignore'])
|
||||
logger.debug('dmp worker process started')
|
||||
worker.on('message', function (data: Data) {
|
||||
if (!data || !data.msg || !data.cacheKey) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue