Skip to content

Commit

Permalink
server: add non invoking entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 20, 2023
1 parent dddf565 commit c78cbc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions server/src/scrypted-main-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function start(mainFilename: string) {
});

const start = require('./scrypted-plugin-main').default;
start(mainFilename);
return start(mainFilename);
}
else {
// unhandled rejections are allowed if they are from a rpc/plugin call.
Expand All @@ -47,7 +47,7 @@ function start(mainFilename: string) {
});

const start = require('./scrypted-server-main').default;
start(mainFilename);
return start(mainFilename);
}
}

Expand Down

0 comments on commit c78cbc0

Please sign in to comment.