diff --git a/router-config-dev.yaml b/router-config-dev.yaml index 6a0fd03..3e85f32 100644 --- a/router-config-dev.yaml +++ b/router-config-dev.yaml @@ -1,12 +1,15 @@ supergraph: listen: 127.0.0.1:4000 +include_subgraph_errors: + all: true + # This requires Enterprise but is the config we can use on serverless #subscription: # mode: # passthrough: # all: -# path: /subscriptions +# path: /ws headers: all: diff --git a/subgraphs/subgraphs.js b/subgraphs/subgraphs.js index 4767478..cb55c2f 100644 --- a/subgraphs/subgraphs.js +++ b/subgraphs/subgraphs.js @@ -68,7 +68,7 @@ export const startSubgraphs = async (httpPort) => { const subgraphConfig = getLocalSubgraphConfig(subgraph.name); const schema = subgraphConfig.getSchema(); const path = `/${subgraphConfig.name}/graphql`; - const wsPath = `/${subgraphConfig.name}/ws`; + const wsPath = `/ws`; // Optionally setup subscriptions for this subgraph let serverCleanup = undefined;