From 73abcdda46d2cb2f3b14664dd1c5783ffc83c6da Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Mon, 21 Jun 2021 14:49:18 +1000 Subject: [PATCH] Prod build uses prod fleet --- examples/eth-dm/src/App.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/eth-dm/src/App.tsx b/examples/eth-dm/src/App.tsx index c57df3e3c5..dcad23c0e3 100644 --- a/examples/eth-dm/src/App.tsx +++ b/examples/eth-dm/src/App.tsx @@ -181,11 +181,11 @@ async function initWaku(): Promise { function getNodes() { // Works with react-scripts - // if (process?.env?.NODE_ENV === 'development') { - return getStatusFleetNodes(Environment.Test); - // } else { - // return getStatusFleetNodes(Environment.Prod); - // } + if (process?.env?.NODE_ENV === 'development') { + return getStatusFleetNodes(Environment.Test); + } else { + return getStatusFleetNodes(Environment.Prod); + } } function encodePublicKeyWakuMessage(ethDmMsg: PublicKeyMessage): WakuMessage {