mirror of
https://github.com/koush/scrypted.git
synced 2026-03-13 14:02:05 +00:00
server: fix nre in fork
This commit is contained in:
@@ -410,7 +410,7 @@ export function startPluginRemote(mainFilename: string, pluginId: string, peerSe
|
||||
|
||||
const forkOptions = Object.assign({}, zipOptions);
|
||||
forkOptions.fork = true;
|
||||
forkOptions.main = options.filename;
|
||||
forkOptions.main = options?.filename;
|
||||
return remote.loadZip(packageJson, getZip, forkOptions)
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user