Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve the GraphiQL playground
Zaistebd3758ce76c3
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7cff48bd2f..9d35bc4fab 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -50,6 +50,7 @@ All notable, unreleased changes to this project will be documented in this file.- Make `oldPassword` argument on `passwordChange` mutation optional; support accounts without usable passwords - @11999 by @rafalp- Added support for AVIF images, added `AVIF` and `ORIGINAL` to `ThumbnailFormatEnum` - #11998 by @patrys- Introduce custom headers for webhook requests - #11978 by @zedzior+- Improve GraphQL playground by storing headers in the local storage - #12176 by @zaiste### Other changesdiff --git a/templates/graphql/playground.html b/templates/graphql/playground.htmlindex 4fd508c442..12fe000861 100644--- a/templates/graphql/playground.html+++ b/templates/graphql/playground.html@@ -8,19 +8,19 @@<linkrel="stylesheet"- href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"+ 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="sha256-rzCWDH0U7VcSzHgXFL6fChGofhDlnddYo4WWPFKlm2s="+ src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"+ integrity="sha256-HIerRbvaWWhqvC3ZBi4+fzqbf0ZORrk28RSx7qYY0SQ="crossorigin="anonymous"></script>