diff --git a/.changeset/warm-jeans-reply.md b/.changeset/warm-jeans-reply.md new file mode 100644 index 00000000..b82cdeea --- /dev/null +++ b/.changeset/warm-jeans-reply.md @@ -0,0 +1,6 @@ +--- +"@graphprotocol/hypergraph-react": patch +--- + +update default sync server url + \ No newline at end of file diff --git a/apps/connect/.env.production b/apps/connect/.env.production index 3a047b91..c91e569e 100644 --- a/apps/connect/.env.production +++ b/apps/connect/.env.production @@ -1,5 +1,5 @@ # VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://syncserver.hypergraph.thegraph.com" -VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://hypergraph-sync.up.railway.app" +VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://sync.geobrowser.io" VITE_HYPERGRAPH_CHAIN="geo-testnet" VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz" VITE_PRIVY_APP_ID="cmcccikza007bjy0niawgutl0" diff --git a/docs/docs/providers.md b/docs/docs/providers.md index 4ac682c1..a6198cb8 100644 --- a/docs/docs/providers.md +++ b/docs/docs/providers.md @@ -18,7 +18,7 @@ const App = () => { It has one mandatory prop: `mapping`. This is the mapping of your schema to the public Knowledge Graph schema. You can find more information about the mapping in the [Mapping](/docs/mapping) section later. -Further it has an optional prop: `syncServerUri`. This is the URL of the sync server. By default it is set to `https://hypergraph-sync.up.railway.app`. +Further it has an optional prop: `syncServerUri`. This is the URL of the sync server. By default it is set to `https://sync.geobrowser.io`. ## useHypergraphApp diff --git a/packages/hypergraph-react/src/HypergraphAppContext.tsx b/packages/hypergraph-react/src/HypergraphAppContext.tsx index 2d8c15f0..05d477d1 100644 --- a/packages/hypergraph-react/src/HypergraphAppContext.tsx +++ b/packages/hypergraph-react/src/HypergraphAppContext.tsx @@ -238,7 +238,7 @@ const mockStorage = { // (and store it in the sync server) export function HypergraphAppProvider({ storage = typeof window !== 'undefined' ? localStorage : mockStorage, - syncServerUri = 'https://hypergraph-sync.up.railway.app', + syncServerUri = 'https://sync.geobrowser.io', chainId = Connect.GEO_TESTNET.id, appId, children,