Fix web demo

This commit is contained in:
folex
2021-08-12 17:55:33 +03:00
parent b0e726cc92
commit 176d026a7c
3 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import { get_external_api_multiaddr } from "@fluencelabs/aqua-ipfs-ts";
import { FluenceClient, createClient } from "@fluencelabs/fluence";
import { stage } from "@fluencelabs/fluence-network-environment";
import { krasnodar } from "@fluencelabs/fluence-network-environment";
import { useSetRecoilState, useRecoilValue, useRecoilState } from "recoil";
import {
deploy_service,
@ -18,7 +18,7 @@ import {
} from "./appState";
import { decapsulateP2P, fromOption } from "./util";
export const relayNodes = [stage[0], stage[1], stage[2]];
export const relayNodes = [krasnodar[0], krasnodar[1], krasnodar[2]];
const getRpcAddr = async (client: FluenceClient) => {
if (client === null) {