Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update @saleor/graphql-playground to 2.0.0-5 (#10735)

Michał Miszczyszyn9a6da4e06128
diff --git a/templates/graphql/playground.html b/templates/graphql/playground.html
index 1f2285315b..c6b613a1e1 100644
--- a/templates/graphql/playground.html
+++ b/templates/graphql/playground.html
@@ -8,18 +8,19 @@
<link
rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"
- integrity="sha512-ivOjBFuy6pAspvPNtIz/vpI8ZHAU4X2EDuRnqOWK64GwlRCwypdgbPuaGqMWt20Bg2KjcNk2Vq9kkl8+XgSb9g=="
+ href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"
+ integrity="sha512-6n65lECcA9z9qAHZ5ZQPgw6qEKhRIQKICk0hY+UzDy59EyqW3o/aFBeINuY/df9BzWFBX+m8RjE3p7bFirGC5A=="
crossorigin="anonymous"
/>
-
- <meta http-equiv="content-security-policy" content="default-src 'none'; connect-src {{ api_url }} {{ plugins_url }}; script-src https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js 'sha256-hM8ziVmFsNZhvY3EjvTholqPBoYTMv/3+1nOBhZrL+c='; style-src https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css; font-src 'self' data:; img-src data: https://cdn.jsdelivr.net/npm/[email protected]/build/favicon.png" />
+ <!-- sha256-Y/huXlwoYkVyQlxwSVcCi1RCDGDCSVBzDt0hYP9qlTc= is inline css added by the playground when opening settings -->
+ <!-- sha256-hM8ziVmFsNZhvY3EjvTholqPBoYTMv/3+1nOBhZrL+c= is the inline code below -->
+ <meta http-equiv="content-security-policy" content="default-src 'none'; connect-src {{ api_url }} {{ plugins_url }}; script-src https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js 'sha256-hM8ziVmFsNZhvY3EjvTholqPBoYTMv/3+1nOBhZrL+c='; style-src https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css 'sha256-Y/huXlwoYkVyQlxwSVcCi1RCDGDCSVBzDt0hYP9qlTc='; font-src 'self' data:; img-src data: https://cdn.jsdelivr.net/npm/[email protected]/build/favicon.png" />
</head>
<body>
<div id="root" data-endpoint="{{ api_url }}" {% if query %}data-query="{{ query }}"{% endif %}></div>
<script
- src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"
- integrity="sha512-qsKAT98vfXNeckMOMa7oXU78EKKVcfX4ukhSoDtAcQPawlyrrkoQDPYUaqjiMrstEwWtBm65PGesrNh5/q64OA=="
+ src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"
+ integrity="sha512-eBfXw1/7waZZLt/cehNkjwRoGPPqhobjHfTd4HSWQbyM9luhga98rcJEBVAFL8sW2MzhMk6h5vlhRpxSr0t4Ow=="
crossorigin="anonymous"
></script>