Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Feb 21, 2022
1 parent 9c82628 commit 3ee2293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphiql/graphiql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default LandingLayout;
<GraphiQL
fetcher={
createGraphiQLFetcher({
url: window.location.origin + '/graphql',
url: typeof window !== 'undefined' ? window.location.origin + '/graphql' : '',
})}
editorTheme={'dracula'}
schema={buildSchema(rawSchema)}
/>
/>

0 comments on commit 3ee2293

Please sign in to comment.