Prep docs for Cloudflare worker migration (Pages is apparently deprecated/no longer recommended)

This commit is contained in:
Matthew Kilgore
2025-07-12 14:56:05 -04:00
parent 72033341b4
commit f4c8dd5450
2 changed files with 11 additions and 0 deletions

4
docs/public/_headers Normal file
View File

@@ -0,0 +1,4 @@
/*
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Content-Security-Policy: default-src 'self'; script-src 'report-sample' 'unsafe-inline' 'self' https://a.sysadmins.zone/js/embed.host.js https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015 https://unpkg.com/@stoplight/elements/web-components.min.js; style-src 'report-sample' 'unsafe-inline' 'self' https://unpkg.com; object-src 'none'; base-uri 'self'; connect-src 'self' https://raw.githubusercontent.com; font-src 'self'; frame-src 'self' https://a.sysadmins.zone; img-src 'self' data: http://translate.sysadminsmedia.com; manifest-src 'self'; media-src 'self'; worker-src 'none';

7
docs/wrangler.toml Normal file
View File

@@ -0,0 +1,7 @@
name = "homebox-docs"
compatibility_date = "2025-07-12"
preview_urls = true
[assets]
directory = ".vitepress/dist"
not_found_handling = "single-page-application"