Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 9007293

Browse files
committed
update to new cdn rul from jsdelivr
1 parent 051ecc4 commit 9007293

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/renderGraphiQL.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type GraphiQLData = {
1616
};
1717

1818
// Current latest version of GraphiQL.
19-
const GRAPHIQL_VERSION = '0.10.1';
19+
const GRAPHIQL_VERSION = '0.11.2';
2020

2121
// Ensures string values are safe to be used within a <script> tag.
2222
function safeSerialize(data) {
@@ -63,11 +63,11 @@ add "&raw" to the end of the URL within a browser.
6363
width: 100%;
6464
}
6565
</style>
66-
<link href="//cdn.jsdelivr.net/graphiql/${GRAPHIQL_VERSION}/graphiql.css" rel="stylesheet" />
66+
<link href="//cdn.jsdelivr.net/npm/graphiql@${GRAPHIQL_VERSION}/graphiql.css" rel="stylesheet" />
6767
<script src="//cdn.jsdelivr.net/fetch/0.9.0/fetch.min.js"></script>
6868
<script src="//cdn.jsdelivr.net/react/15.4.2/react.min.js"></script>
6969
<script src="//cdn.jsdelivr.net/react/15.4.2/react-dom.min.js"></script>
70-
<script src="//cdn.jsdelivr.net/graphiql/${GRAPHIQL_VERSION}/graphiql.min.js"></script>
70+
<script src="//cdn.jsdelivr.net/npm/graphiql@${GRAPHIQL_VERSION}/graphiql.min.js"></script>
7171
</head>
7272
<body>
7373
<script>

0 commit comments

Comments
 (0)