feat: add CSP & favicon

This commit is contained in:
xHyroM 2023-01-02 22:33:04 +01:00
parent 4ddf5aa87a
commit 175378c378
2 changed files with 9 additions and 2 deletions

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

View file

@ -9,6 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Primary Meta Tags -->
<title>xHyroM</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta name="title" content="xHyroM" />
<meta name="description" content="Ultimate placeholder text." />
@ -34,11 +35,17 @@
property="twitter:image"
content="https://metatags.io/assets/meta-tags-16a33a6a8531e519cc0936fbba0ad904e52d35f34a46c97a2c9f6f7dd7d336f2.png"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" /><link
<!-- CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' *; img-src 'self'; font-src *; style-src 'self' 'unsafe-inline' fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin
/><link
/>
<link
href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;500;700;900&display=swap"
rel="stylesheet"
/>