-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Plugsy agent endpoint can be specified using environment variables
- Loading branch information
Thomas Nairn
authored and
Thomas Nairn
committed
Aug 11, 2021
1 parent
cf74932
commit 6f7ecd4
Showing
2 changed files
with
14 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export const environment = () => ({ | ||
loggingLevel: process.env.PLUGSY_LOGGER_LEVEL ?? "info", | ||
localConfigFile: process.env.PLUGSY_LOCAL_CONFIG_FILE ?? "/config.json", | ||
agentEndpoint: process.env.PLUGSY_AGENT_ENDPOINT | ||
}); | ||
|
||
export type Environment = ReturnType<typeof environment>; |
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