From 6cd64ddcaeb95cf15b49a0e9821cc5174a5d2e30 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 13 Oct 2026 20:48:10 +0200 Subject: [PATCH] Website: let the page fetch its own origin (robots.txt checks) and preconnect to GitHub Co-Authored-By: Claude Opus 5.5 --- website/Caddyfile | 2 +- website/src/index.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/website/Caddyfile b/website/Caddyfile index c2c11060e..ebda45386 100644 --- a/website/Caddyfile +++ b/website/Caddyfile @@ -20,7 +20,7 @@ Referrer-Policy strict-origin-when-cross-origin X-Frame-Options DENY Permissions-Policy "interest-cohort=(), browsing-topics=(), camera=(), microphone=(), geolocation=()" - Content-Security-Policy "default-src 'self'; script-src 'self' {$CSP_SCRIPT}; style-src 'self' {$CSP_STYLE}; img-src 'self' data:; font-src 'self'; connect-src https://api.github.com https://raw.githubusercontent.com; frame-ancestors 'none'; base-uri 'self'; form-action 'self'" + Content-Security-Policy "default-src 'self'; script-src 'self' {$CSP_SCRIPT}; style-src 'self' {$CSP_STYLE}; img-src 'self' data:; font-src 'self'; connect-src 'self' https://api.github.com https://raw.githubusercontent.com; frame-ancestors 'none'; base-uri 'self'; form-action 'self'" -Server } @assets path /assets/* diff --git a/website/src/index.html b/website/src/index.html index 9dda34d26..bebba79ea 100644 --- a/website/src/index.html +++ b/website/src/index.html @@ -22,6 +22,8 @@ + +