Skip to content

Commit 22601b4

Browse files
authored
Pin playground to v1.7.28 and add polyfill for mutation events (#1159)
1 parent 5f2dc82 commit 22601b4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Ui.Playground/Internal/playground.cshtml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
<meta charset=utf-8 />
55
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
66
<title>Graphcool Playground</title>
7-
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
8-
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
9-
<script src="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js"></script>
7+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/build/static/css/index.css" integrity="sha384-xb+UHILNN4fV3NgQMTjXk0x9A80U0hmkraTFvucUYTILJymGT8E1Aq2278NSi5+3" crossorigin="anonymous">
8+
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/npm/[email protected]/build/favicon.png" />
9+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/src/mutation_events.min.js" integrity="sha384-3WfzKl+0b7sgUYFL5hMJv2xX3pkwyJd8uywnpsInos6fjSNB2zYFlaSgMP3/Lgpq" crossorigin="anonymous"></script>
10+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/static/js/middleware.js" integrity="sha384-ardaO17esJ2ZxvY24V1OE6X4j+Z3WKgGMptrlDLmD+2w/JC3nbQ5ZfKGY2zfOPEE" crossorigin="anonymous"></script>
1011
</head>
1112
<body>
1213
<div id="root">
@@ -41,7 +42,7 @@
4142
font-weight: 400;
4243
}
4344
</style>
44-
<img src='//cdn.jsdelivr.net/npm/graphql-playground-react/build/logo.png' alt=''>
45+
<img src='https://cdn.jsdelivr.net/npm/graphql-playground-react@1.7.28/build/logo.png' alt=''>
4546
<div class="loading">
4647
Loading <span class="title">GraphQL Playground</span>
4748
</div>

0 commit comments

Comments
 (0)