F #5422: fix worker connect (#1375)

Co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
Jorge Miguel Lobo EscalonaandJorge Lobo authored and GitHub committed 2021-07-23 14:19:19 +02:00
1 parent decc8c9964
commit de6241a9bf
1 file changed
+1 -1
@@ -184,7 +184,7 @@ router.all(
//* worker thread */
const user = getUserOpennebula()
const paramsCommand = getOpennebulaMethod(dataSources)
let workerPath = ['dist']
let workerPath = [__dirname]
if (env && env.NODE_ENV === defaultWebpackMode) {
workerPath = ['src', 'server', 'utils']
} else {