Skip to content

Commit

Permalink
Add a production key for database config
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso committed Jan 11, 2024
1 parent 75b80f0 commit 0455154
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cli/src/prosopo.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ export default function getConfig(
dbname: process.env.PROSOPO_DATABASE_NAME || '',
authSource: 'admin',
},
production: {
type: DatabaseTypes.enum.mongo,
endpoint: getMongoURI(),
dbname: process.env.PROSOPO_DATABASE_NAME || '',
authSource: 'admin',
},
},
server: {
baseURL: process.env.PROSOPO_API_BASE_URL || 'http://localhost',
Expand Down

0 comments on commit 0455154

Please sign in to comment.