mirror of https://github.com/waku-org/js-waku.git
Prod build uses prod fleet
This commit is contained in:
parent
85b4879410
commit
73abcdda46
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue