diff --git a/examples/expressjs-ethr/src/web-server.ts b/examples/expressjs-ethr/src/web-server.ts index 8f68fd629..435d029ff 100644 --- a/examples/expressjs-ethr/src/web-server.ts +++ b/examples/expressjs-ethr/src/web-server.ts @@ -145,11 +145,7 @@ async function main() { console.log(`Server running at http://localhost:${port}/`) await core.startServices() - // await core.syncServices(await dataStore.latestMessageTimestamps()) - console.log('Polling while WS is unavailable') - setInterval(async () => { - await core.syncServices(await dataStore.latestMessageTimestamps()) - }, 5000) + await core.syncServices(await dataStore.latestMessageTimestamps()) }) } diff --git a/packages/daf-trust-graph/src/config.ts b/packages/daf-trust-graph/src/config.ts index 5c296bb6f..0163120db 100644 --- a/packages/daf-trust-graph/src/config.ts +++ b/packages/daf-trust-graph/src/config.ts @@ -1,2 +1,2 @@ -export const defaultTrustGraphUri = 'https://edge.uport.me/graphql' -export const defaultTrustGraphWsUri = null +export const defaultTrustGraphUri = 'https://trustgraph.uport.me/graphql' +export const defaultTrustGraphWsUri = 'wss://trustgraph.uport.me/graphql'