Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix the GraphiQL playground (#11936)
Jakub Neander914fd4cb4b91
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2ab33782d7..b29b14da52 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,7 @@ All notable, unreleased changes to this project will be documented in this file.### Other changes- Enhance webhook's subscription query validation. Apply the validation and event inheritance to manifest validation - #11797 by @zedzior+- Fix GraphQL playground when the `operationName` is set across different tabs - #11936 by @zaiste# 3.11.0diff --git a/templates/graphql/playground.html b/templates/graphql/playground.htmlindex 69c3f65b5e..4fd508c442 100644--- a/templates/graphql/playground.html+++ b/templates/graphql/playground.html@@ -8,21 +8,21 @@<linkrel="stylesheet"- href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"- integrity="sha512-YALe4xVqDdxVBojNizFFC0gUAjBqk7o21iRUqIOhObfKmSPKpMU8MNT+SsTpLWkY1z13gODofWdLJbKdfov7Ag=="+ href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"+ integrity="sha256-ZJCckg9tCLN/1GDFgJUsuVH9o8NGGcFD4kELL6KFAyc="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="sha512-azSAOqHoYDQ+EF7UM4C6EaOsNNPFBPRA9kxExPC6ksqQAf323UISxzTQ9Hn+PjFhg7qLArXztC1ZUp5tBV5o9Q=="- crossorigin="anonymous"- ></script>+ src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"+ integrity="sha256-rzCWDH0U7VcSzHgXFL6fChGofhDlnddYo4WWPFKlm2s="+ crossorigin="anonymous">+ </script>{# sha256-hM8ziVmFsNZhvY3EjvTholqPBoYTMv/3+1nOBhZrL+c= #}<script type="module">