From a5d3dfed78b319c689c76755de76fad8f2a46ae2 Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Tue, 22 Jul 2025 15:13:05 +0200 Subject: [PATCH] move default sync server to railway --- apps/connect/.env.production | 2 +- docs/docs/providers.md | 2 +- packages/hypergraph-react/CHANGELOG.md | 1 + packages/hypergraph-react/src/HypergraphAppContext.tsx | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/connect/.env.production b/apps/connect/.env.production index b7a5ba73..3a047b91 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.fly.dev" +VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://hypergraph-sync.up.railway.app" 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 e3f1fcdf..96353a83 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.fly.dev`. +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`. ## useHypergraphApp diff --git a/packages/hypergraph-react/CHANGELOG.md b/packages/hypergraph-react/CHANGELOG.md index 67879e4b..21efe93a 100644 --- a/packages/hypergraph-react/CHANGELOG.md +++ b/packages/hypergraph-react/CHANGELOG.md @@ -6,6 +6,7 @@ - dd4746a: remove unsupported dataType Url - fd0a13f: extract Mapping to @graphprotocol/typesync - 114d743: breaking changes of the authentication flow to improve security and fix invitations +- Update the default syncServerUri to https://hypergraph-sync.up.railway.app - Updated dependencies [dd4746a] - Updated dependencies [fd0a13f] - Updated dependencies [114d743] diff --git a/packages/hypergraph-react/src/HypergraphAppContext.tsx b/packages/hypergraph-react/src/HypergraphAppContext.tsx index 06ae3259..f575ee93 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.fly.dev', + syncServerUri = 'https://hypergraph-sync.up.railway.app', chainId = Connect.GEO_TESTNET.id, appId, children,