Skip to content

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

GraphQL Playground: Update deps and improve text in the sharing modal (#10910)

Michał Miszczyszynf52bc824f864
diff --git a/templates/graphql/playground.html b/templates/graphql/playground.html
index c6b613a1e1..e57fedc926 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="sha512-6n65lECcA9z9qAHZ5ZQPgw6qEKhRIQKICk0hY+UzDy59EyqW3o/aFBeINuY/df9BzWFBX+m8RjE3p7bFirGC5A=="
+ href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"
+ integrity="sha512-lUohGNgrZS/yBQbbS+gIy2h7LL58KNQSouG9I5S4R8aolm8c4L9D32LNgsrmSEOeOScobrk9PVyPLsvKl18D5w=="
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-eBfXw1/7waZZLt/cehNkjwRoGPPqhobjHfTd4HSWQbyM9luhga98rcJEBVAFL8sW2MzhMk6h5vlhRpxSr0t4Ow=="
+ src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"
+ integrity="sha512-gEy+ZFwSH5sGHOMszcK9i9L7pQfPFkDHCmNOXPWzBAITd0r9yFFEsoppgCxU2PZdVkcL4Xt+SElmHdYqC713pQ=="
crossorigin="anonymous"
></script>