-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add
HOSTING_MODE
env variable to adjust the plugin to the des…
…ired hosting (#116) Possible values: - `STANDARD` (default) - The plugin server runs as a usual webserver app that listens to HTTP requests. - `AWS_LAMBDA` - The plugin server initializes and exports a handler that AWS Lambda uses to handle requests. BREAKING CHANGE: The `startPluginServer()` function is renamed to `setupPluginServer()` because, in the `AWS_LAMBDA` hosting mode, this function does not start the plugin server but just initializes the server and prepares the handler function for Lambda.
- Loading branch information
Showing
7 changed files
with
266 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './types/definition.js'; | ||
export * from './types/context.js'; | ||
export { startPluginServer } from './api/index.js'; | ||
export { setupPluginServer } from './api/index.js'; |
Oops, something went wrong.