update doc - "create instance" page (#2456)

poc-3.polkadot.io is not available right now. use rpc.polkadot.io instead.
This commit is contained in:
sung wu
2020-07-28 12:59:27 +02:00
committed by GitHub
parent 75aa310837
commit 5adc846e45
+1 -1
View File
@@ -8,7 +8,7 @@ import { ApiPromise, WsProvider } from '@polkadot/api';
...
// Construct
const wsProvider = new WsProvider('wss://poc-3.polkadot.io');
const wsProvider = new WsProvider('wss://rpc.polkadot.io');
const api = await ApiPromise.create({ provider: wsProvider });
// Do something