Skip to content

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

Upgrade GraphiQL to `2.4` for playground (#12271)

Jakub Neander62bd0c6f8d7c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5852b9f23d..fc382c2255 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ All notable, unreleased changes to this project will be documented in this file.
### GraphQL API
- [Preview] Add `StockBulkUpdate` mutation - #12139 by @SzymJ
+- Upgrade GraphiQL to `2.4.0` for playground - #12271 by @zaiste
### Other changes
diff --git a/templates/graphql/playground.html b/templates/graphql/playground.html
index 044de5f631..c1b6966eab 100644
--- a/templates/graphql/playground.html
+++ b/templates/graphql/playground.html
@@ -8,19 +8,19 @@
<link
rel="stylesheet"
- href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"
- integrity="sha256-ZJCckg9tCLN/1GDFgJUsuVH9o8NGGcFD4kELL6KFAyc="
+ href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"
+ integrity="sha256-E72GyD1jj9aVaRpcpp10kI1KxHgxpH+YFFxYGoFn4X8="
crossorigin="anonymous"
/>
<!-- 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" />
+ <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="sha256-7NMm/mvIdkuYIRo237M74Lk5JSB9y85AaI+23EfsYtA="
+ src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"
+ integrity="sha256-rA1RZxC+CNMLNYlDdMRTfMx9jVmG32H9iv6ekgl9hGI="
crossorigin="anonymous">
</script>