Skip to content

Commit

Permalink
chore: add .env.example
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed May 17, 2023
1 parent 0d30cbf commit 9fa3337
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
APP_NAME=
CREDENTIAL_SECRET=
PORT=
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const settings: LocalSettings = {
functionGlobalContext: {},
uiHost: "0.0.0.0",
uiPort: parseInt(process.env.PORT) || 8080,
credentialSecret: "secret",
credentialSecret: process.env.CREDENTIAL_SECRET || "secret",
//@ts-ignore
storageModule: storageModule,
storageSettings: {
Expand Down

0 comments on commit 9fa3337

Please sign in to comment.