Skip to content

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

Disable polling in Playgroud

Marcin Gębala94f4bd43a602
diff --git a/templates/graphql/playground.html b/templates/graphql/playground.html
index 0725a3949d..062343a992 100644
--- a/templates/graphql/playground.html
+++ b/templates/graphql/playground.html
@@ -44,7 +44,9 @@
</div>
<script>window.addEventListener('load', function (event) {
GraphQLPlayground.init(document.getElementById('root'), {
- // options as 'endpoint' belong here
+ settings: {
+ 'schema.polling.enable': false
+ }
})
})</script>
</body>