Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 87fb628

Browse files
Correct configuration to use heroku based environment variables properly
1 parent 119c7f2 commit 87fb628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
TOPIC: process.env.TOPIC || 'events_topic',
1818
GITHUB_SECRET_TOKEN: process.env.GITHUB_SECRET_TOKEN || '',
1919
GITLAB_SECRET_TOKEN: process.env.GITLAB_SECRET_TOKEN || '',
20-
WATCH_REPOS: [
20+
WATCH_REPOS: process.env.WATCH_REPOS ? process.env.WATCH_REPOS.split(',') : [
2121
'https://github.com/cwdcwd/challengeFetcher'
2222
],
2323
KAFKA_OPTIONS: {

0 commit comments

Comments
 (0)