We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c6bcc commit 596f47aCopy full SHA for 596f47a
packages/graphiql-toolkit/src/create-fetcher/createFetcher.ts
@@ -43,7 +43,7 @@ export function createGraphiQLFetcher(options: CreateFetcherOptions): Fetcher {
43
: false;
44
45
if (isSubscription) {
46
- if (options.sseUrl) {
+ if (!options.subscriptionUrl.startsWith('ws')) {
47
const sseFetcher = await createSseFetcher({ url: options.sseUrl });
48
return sseFetcher(graphQLParams);
49
}
0 commit comments