We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6537380 commit 60a251aCopy full SHA for 60a251a
1 file changed
src/applause-button.js
@@ -20,6 +20,7 @@ const updateClaps = (api, claps, url) =>
20
headers: {
21
"Content-Type": "text/plain", //avoids preflight request
22
},
23
+ referrerPolicy: "no-referrer-when-downgrade", // send the full referrer to the applause server, to have by default a clap per page
24
body: JSON.stringify(`${claps},${VERSION}`),
25
})
26
.then((response) => response.text())
0 commit comments