Skip to content

Make /-/graphql-explorer work again

Stan Hu requested to merge sh-revert-graphiql-version into master

We attempted to make /-/graphql-explorer work with Content Security Policy headers by upgrading graphiql-rails to the latest version, but unfortunately that didn't work due to an issue with name mangling in Uglify and Sprockets: https://gitlab.com/gitlab-org/gitlab-ce/issues/67293.

For now, let's revert to the working version and manually insert the JavaScript nonces to make Content Security Policy work.

Edited by Stan Hu

Merge request reports