Block Referer header from being sent when clicking links

Before this change, any links a user clicks on will be sent the full The Lounge URL the user is coming from. While not too big of an issue, especially since URL fragments (channel IDs) aren't sent, this provides a little bit of a privacy improvement.
This commit is contained in:
gaymersriseup 2023-08-31 20:38:24 -04:00 committed by GitHub
parent 9f05a75c39
commit bf1583c514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,9 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="<%- themeColor %>">
<!-- Block Referer header from being sent when clicking links -->
<meta name="referrer" content="no-referrer">
</head>
<body class="<%- public ? " public" : "" %>" data-transports="<%- JSON.stringify(transports) %>">
<div id="app"></div>