How to do a redirect without sending referer in express?

Doing a redirect from your browser from the page:
window.location.href = '';

app.get('/redirect', function( req, res ) {
 if( req.query.url )
 Res. redirect( 301, req.query.url );
 Res. send( 'error' );

Want to get rid of the referrer, making a redirect from the browser to the server first and the server would have redirected where necessary without it.
But in this situation, the referer is still sent.
July 8th 19 at 15:39
1 answer
July 8th 19 at 15:41
If you redirect the user to the website in http, https, configure themselves, then the referer will not be shared =)

Find more questions by tags Node.js