Page MenuHomePhabricator

D6670.diff
No OneTemporary

D6670.diff

diff --git a/keyserver/Dockerfile b/keyserver/Dockerfile
--- a/keyserver/Dockerfile
+++ b/keyserver/Dockerfile
@@ -21,6 +21,7 @@
ARG HOST_UID
ARG HOST_GID
ARG COMM_ALCHEMY_KEY
+ARG COMM_WALLETCONNECT_KEY
USER root
RUN \
diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml
--- a/keyserver/docker-compose.yml
+++ b/keyserver/docker-compose.yml
@@ -8,6 +8,7 @@
- HOST_UID=${HOST_UID}
- HOST_GID=${HOST_GID}
- COMM_ALCHEMY_KEY=${COMM_ALCHEMY_KEY}
+ - COMM_WALLETCONNECT_KEY=${COMM_WALLETCONNECT_KEY}
image: commapp/node-keyserver:1.0
restart: always
ports:
diff --git a/lib/webpack/shared.cjs b/lib/webpack/shared.cjs
--- a/lib/webpack/shared.cjs
+++ b/lib/webpack/shared.cjs
@@ -90,6 +90,7 @@
}
const alchemyKey = process.env.COMM_ALCHEMY_KEY;
+const walletConnectKey = process.env.COMM_WALLETCONNECT_KEY;
function createProdBrowserConfig(baseConfig, babelConfig) {
const browserConfig = createBaseBrowserConfig(baseConfig);
@@ -104,6 +105,7 @@
NODE_ENV: JSON.stringify('production'),
BROWSER: true,
COMM_ALCHEMY_KEY: JSON.stringify(alchemyKey),
+ COMM_WALLETCONNECT_KEY: JSON.stringify(walletConnectKey),
},
}),
new MiniCssExtractPlugin({
@@ -170,6 +172,7 @@
NODE_ENV: JSON.stringify('development'),
BROWSER: true,
COMM_ALCHEMY_KEY: JSON.stringify(alchemyKey),
+ COMM_WALLETCONNECT_KEY: JSON.stringify(walletConnectKey),
},
}),
new ReactRefreshWebpackPlugin(),
@@ -240,6 +243,7 @@
new webpack.DefinePlugin({
'process.env': {
COMM_ALCHEMY_KEY: JSON.stringify(alchemyKey),
+ COMM_WALLETCONNECT_KEY: JSON.stringify(walletConnectKey),
},
}),
],

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 7:39 PM (17 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2682616
Default Alt Text
D6670.diff (1 KB)

Event Timeline