diff --git a/handler/playground.go b/handler/playground.go index f1687defb76..b3d8eedfb38 100644 --- a/handler/playground.go +++ b/handler/playground.go @@ -11,9 +11,12 @@ var page = template.Must(template.New("graphiql").Parse(` - - - + + + {{.title}} @@ -46,6 +49,9 @@ func Playground(title string, endpoint string) http.HandlerFunc { "title": title, "endpoint": endpoint, "version": "1.7.8", + "cssSRI": "sha256-cS9Vc2OBt9eUf4sykRWukeFYaInL29+myBmFDSa7F/U=", + "faviconSRI": "sha256-GhTyE+McTU79R4+pRO6ih+4TfsTOrpPwD8ReKFzb3PM=", + "jsSRI": "sha256-ucQsC5k+XYnUlQia6tMKdAOGBbfbDAquMa+oqIooB5A=", }) if err != nil { panic(err)