Skip to content

Commit

Permalink
Merge pull request #106 from CharlieC3/patch-1
Browse files Browse the repository at this point in the history
feat: split API URLs into two env vars
  • Loading branch information
jcnelson authored Jan 5, 2024
2 parents 9576849 + d15f2d1 commit f9cbbce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12
FROM node:12.22.12-bullseye-slim


# Update apt and install wget
Expand Down
5 changes: 4 additions & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ export function getConfig() {
}
if (process.env.BLOCKSTACK_API_URL) {
bskConfig.network.blockstackAPIUrl = process.env.BLOCKSTACK_API_URL
bskConfig.network.coreApiUrl = process.env.BLOCKSTACK_API_URL
}

if (process.env.BLOCKSTACK_CORE_URL) {
bskConfig.network.coreApiUrl = process.env.BLOCKSTACK_CORE_URL
}

config.winstonConfig = {
Expand Down

0 comments on commit f9cbbce

Please sign in to comment.