Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Set meta referrer=origin (#412)
Browse files Browse the repository at this point in the history
GraphQL query can be huge. And once encoded in the URL, it generates an enormous HTTP header "Referrer" that some HTTP servers cannot handle.
  • Loading branch information
GromNaN authored and IvanGoncharov committed Feb 18, 2018
1 parent 27f7dd8 commit 1009057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderGraphiQL.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ add "&raw" to the end of the URL within a browser.
<meta charset="utf-8" />
<title>GraphiQL</title>
<meta name="robots" content="noindex" />
<meta name="referrer" content="origin">
<style>
html, body {
height: 100%;
Expand Down

0 comments on commit 1009057

Please sign in to comment.