Skip to content

Commit

Permalink
readme & fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulgalimov committed Sep 30, 2022
1 parent 073550d commit a682d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
* `REDIS_PORT` - port to connect redis, default 6379
* `REDIS_DB` - redis database number, default 0
* `CACHE_TTL` - How often can you request money
* `ADMIN_ADDRESSES` - A list of admin addresses, separated by ","

1 change: 1 addition & 0 deletions src/config/config.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const loadConfig = (): Config => ({
dropAmount: +process.env.DROP_AMOUNT || 3000,
adminAddresses: process.env.ADMIN_ADDRESSES
? process.env.ADMIN_ADDRESSES.split(',')
.map((address) => address.trim())
.filter((address) => !!address)
.map((address) => address.toLowerCase())
: [],
Expand Down

0 comments on commit a682d5d

Please sign in to comment.