Skip to content

Commit

Permalink
Update ws path to root for now (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick committed Jul 17, 2023
1 parent 065b552 commit 02c90c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion router-config-dev.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/subgraphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 02c90c1

Please sign in to comment.