mirror of
https://github.com/koush/scrypted.git
synced 2026-06-27 03:40:25 +01:00
server: fixup cluster worker hook
This commit is contained in:
@@ -75,7 +75,7 @@ function start(mainFilename: string, options?: {
|
||||
const clusterMode = getScryptedClusterMode();
|
||||
if (clusterMode?.[0] === 'client') {
|
||||
const start = require('./scrypted-cluster-main').default;
|
||||
return start(mainFilename, options?.serviceControl);
|
||||
return start(mainFilename, options);
|
||||
}
|
||||
else {
|
||||
const start = require('./scrypted-server-main').default;
|
||||
|
||||
Reference in New Issue
Block a user