Skip to content

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

Update GraphQL Playground (#14457)

Michał Miszczyszyn771406651dba
diff --git a/templates/graphql/playground.html b/templates/graphql/playground.html
index 1b47ababc7..a78f801fd1 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-K8gugDY1TolXjVMsJXrBR44cbfkMIBvX+2wGnRqJTDle3mddiYOpim4r41270Wl2ZMkRvZOBEQKJ89NpRMToPA=="
+ href="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.css"
+ integrity="sha512-At4oauT6nG27Tia9tK5nARI3hjETDUSfKiAYTUaiupfL7EoyNmJ2bsnjIpE09WBkDQMuhQWBS/y+7Q/4xJ9U+g=="
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-SI5Zc047BQTKKEEE4zY1lO1rmHLtGbP+jxfIvfI7WOOEnzoSM63vcAtydkpTrO8uqifpwv+8keReUw9ddJudlw=="
+ src="https://cdn.jsdelivr.net/npm/@saleor/[email protected]/dist/umd/index.js"
+ integrity="sha512-JgXsQGo6uquPcrn/BItnP+ijuRv8erQYlH8NejqFOqfYHIQJNsYLTbShzclv1ftoXj55thfuMJAcG507qeJa4w=="
crossorigin="anonymous">
</script>