Prod build uses prod fleet

This commit is contained in:
Franck Royer 2021-06-21 14:49:18 +10:00
parent 85b4879410
commit 73abcdda46
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 5 additions and 5 deletions

View File

@ -181,11 +181,11 @@ async function initWaku(): Promise<Waku> {
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 {