From 980562f7586364f1c01b6ac7d03474f454aea49c Mon Sep 17 00:00:00 2001 From: Charlie <2747302+CharlieC3@users.noreply.github.com> Date: Thu, 4 Jan 2024 16:57:57 -0500 Subject: [PATCH 1/2] feat: split API URLs into two env vars --- src/config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index db0a478..baf53c2 100644 --- a/src/config.js +++ b/src/config.js @@ -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 = { From d15f2d173ad4ff1475aafb14376b9cd71b92907b Mon Sep 17 00:00:00 2001 From: Charlie <2747302+CharlieC3@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:16:34 -0500 Subject: [PATCH 2/2] ci: update Dockefile base image To fix CI --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1bcfb83..84d7d06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12 +FROM node:12.22.12-bullseye-slim # Update apt and install wget