From 4a6edc94dcdad02fd8818b39b7ecafbef08440f4 Mon Sep 17 00:00:00 2001 From: Marc Pervaz Boocha Date: Sat, 7 Sep 2024 12:57:35 +0530 Subject: Deal with inaccesible public dir and missing sitemap --- public/_headers | 6 ++++++ public/_redirects | 1 + public/favicon.svg | 5 +++++ public/profile.jpg | Bin 0 -> 7401478 bytes public/robots.txt | 3 +++ 5 files changed, 15 insertions(+) create mode 100644 public/_headers create mode 100644 public/_redirects create mode 100644 public/favicon.svg create mode 100644 public/profile.jpg create mode 100644 public/robots.txt (limited to 'public') diff --git a/public/_headers b/public/_headers new file mode 100644 index 0000000..5139dee --- /dev/null +++ b/public/_headers @@ -0,0 +1,6 @@ +/* + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Referrer-Policy: no-referrer + Content-Security-Policy: default-src 'self'; script-src static.cloudflareinsights.com; connect-src cloudflareinsights.com; object-src 'none'; require-trusted-types-for 'script'; + Strict-Transport-Security: max-age=63072000; includeSubDomains; preload diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..dc42aa9 --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/blog/ /posts/ 301 diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..c10bfd4 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/public/profile.jpg b/public/profile.jpg new file mode 100644 index 0000000..b180c73 Binary files /dev/null and b/public/profile.jpg differ diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..b5f1e36 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: +Sitemap: https://sudomsg.com/sitemap.xml -- cgit v1.2.3-70-g09d2