Skip to content

Commit 2c9c172

Browse files
Use working GraphQL Playground version (#856)
* Use working GraphQL Playground version the linked file on jsDelivr doesn't work, as I detailed in this issue on the GraphQL Playground repo (graphql/graphql-playground#1310). Going back to version 1.7.20 ensures the playground loads for now until they can publish a new version with a working middleware.js file. * Add versions for css and favicon * Update from 1.7.20 to 1.7.26 Using latest version that still works
1 parent 6f49085 commit 2c9c172

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

juniper/src/http/playground.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ pub fn playground_source(
2121
<meta charset=utf-8 />
2222
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
2323
<title>GraphQL Playground</title>
24-
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
25-
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
26-
<script src="//cdn.jsdelivr.net/npm/[email protected].27/build/static/js/middleware.js"></script>
24+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react@1.7.26/build/static/css/index.css" />
25+
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react@1.7.26/build/favicon.png" />
26+
<script src="//cdn.jsdelivr.net/npm/[email protected].26/build/static/js/middleware.js"></script>
2727
2828
</head>
2929

0 commit comments

Comments
 (0)