1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Set Referrer-Policy to same-origin

Remove the Referer (sic) HTTP request header from external requests (e.g. to
the image CDNs).

The charset directive must be included in the first TCP packet. It should
be set at the very top of the document. Grouping document mode metas
and descriptive metadata in separate groups.
This commit is contained in:
Daniel Aleksandersen 2022-04-14 13:02:21 +02:00 committed by GitHub
parent 4a8221f7a0
commit c076518d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,10 @@
<html> <html>
<head> <head>
<title>{% block title %}{% endblock %}</title>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>{% block title %}{% endblock %}</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' /> <meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<meta name="color-scheme" content="dark" /> <meta name="color-scheme" content="dark" />