Skip to content

Commit bb6d6ef

Browse files
authored
Merge pull request #1 from Hellzed/master
Update to the latest GraphiQL
2 parents 9316acd + 2ed3e58 commit bb6d6ef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

aiohttp_graphql/render_graphiql.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from aiohttp import web
55

66

7-
GRAPHIQL_VERSION = '0.7.1'
7+
GRAPHIQL_VERSION = '0.11.10'
88

99
TEMPLATE = '''<!--
1010
The request to this GraphQL server provided the header "Accept: text/html"
@@ -25,11 +25,11 @@
2525
}
2626
</style>
2727
<meta name="referrer" content="no-referrer">
28-
<link href="//cdn.jsdelivr.net/graphiql/{{graphiql_version}}/graphiql.css" rel="stylesheet" />
29-
<script src="//cdn.jsdelivr.net/fetch/0.9.0/fetch.min.js"></script>
30-
<script src="//cdn.jsdelivr.net/react/15.0.0/react.min.js"></script>
31-
<script src="//cdn.jsdelivr.net/react/15.0.0/react-dom.min.js"></script>
32-
<script src="//cdn.jsdelivr.net/graphiql/{{graphiql_version}}/graphiql.min.js"></script>
28+
<link href="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.css" rel="stylesheet" />
29+
<script src="//cdn.jsdelivr.net/gh/github/[email protected]/fetch.min.js"></script>
30+
<script src="//cdn.jsdelivr.net/npm/[email protected].0/umd/react.production.min.js"></script>
31+
<script src="//cdn.jsdelivr.net/npm/[email protected].0/umd/react-dom.production.min.js"></script>
32+
<script src="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.js"></script>
3333
</head>
3434
<body>
3535
<script>

0 commit comments

Comments
 (0)