Skip to content

Commit

Permalink
Use working GraphQL Playground version (graphql-rust#856)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Matt Wilkinson authored Jan 26, 2021
1 parent 6f49085 commit 2c9c172
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions juniper/src/http/playground.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub fn playground_source(
<meta charset=utf-8 />
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
<title>GraphQL Playground</title>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
<script src="//cdn.jsdelivr.net/npm/[email protected].27/build/static/js/middleware.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react@1.7.26/build/static/css/index.css" />
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react@1.7.26/build/favicon.png" />
<script src="//cdn.jsdelivr.net/npm/[email protected].26/build/static/js/middleware.js"></script>
</head>
Expand Down

0 comments on commit 2c9c172

Please sign in to comment.