From 0470e7b4e14f3c02bd507234b5a5287eb397306c Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Thu, 29 Oct 2026 09:00:50 +0000 Subject: [PATCH] site: _headers back, committed mid-build before --- diff --git a/site/public/_headers b/site/public/_headers new file mode 100644 index 0000000..deb5444 --- /dev/null +++ b/site/public/_headers @@ -0,0 +1,78 @@ + + +# BEGIN ladle source +/source/* + X-Content-Type-Options: nosniff + Content-Security-Policy: default-src 'none'; style-src 'self'; img-src 'self' https:; base-uri 'none'; form-action 'none'; frame-ancestors 'none' +/source/raw/* + Content-Type: text/plain; charset=utf-8 +/source/commit/*.patch + Content-Type: text/plain; charset=utf-8 +/source/feed.xml + Content-Type: application/atom+xml; charset=utf-8 +/source/releases.xml + Content-Type: application/atom+xml; charset=utf-8 +/source/objects/* + Content-Type: application/octet-stream + Cache-Control: public, max-age=31536000, immutable +/source/HEAD + Content-Type: text/plain; charset=utf-8 + Cache-Control: no-cache +/source/line + Content-Type: text/plain; charset=utf-8 + Cache-Control: no-cache +/source/info/refs + Content-Type: text/plain; charset=utf-8 + Cache-Control: no-cache +/source/objects/info/packs + ! Content-Type + ! Cache-Control + Content-Type: text/plain; charset=utf-8 + Cache-Control: no-cache +/source/releases/* + Content-Type: application/octet-stream +/source/releases/*.sha256 + ! Content-Type + Content-Type: text/plain; charset=utf-8 +/source/releases/index.html + ! Content-Type + Content-Type: text/html; charset=utf-8 +/source/releases/:version/index.html + ! Content-Type + Content-Type: text/html; charset=utf-8 +/source/releases/ + ! Content-Type + Content-Type: text/html; charset=utf-8 +/source/releases/:version/ + ! Content-Type + Content-Type: text/html; charset=utf-8 +/source/raw/*.png + ! Content-Type + Content-Type: image/png +/source/raw/*.jpg + ! Content-Type + Content-Type: image/jpeg +/source/raw/*.jpeg + ! Content-Type + Content-Type: image/jpeg +/source/raw/*.gif + ! Content-Type + Content-Type: image/gif +/source/raw/*.webp + ! Content-Type + Content-Type: image/webp +/source/raw/*.avif + ! Content-Type + Content-Type: image/avif +/source/raw/*.ico + ! Content-Type + Content-Type: image/x-icon +/source/raw/*.bmp + ! Content-Type + Content-Type: image/bmp +/source/raw/*.svg + ! Content-Type + Content-Type: image/svg+xml + ! Content-Security-Policy + Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; img-src data:; font-src data:; sandbox; frame-ancestors 'none' +# END ladle source