Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

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

Matthew Kilgoref4c8dd54500a
diff --git a/docs/public/_headers b/docs/public/_headers
new file mode 100644
index 00000000..6bca5add
--- /dev/null
+++ b/docs/public/_headers
@@ -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';
diff --git a/docs/wrangler.toml b/docs/wrangler.toml
new file mode 100644
index 00000000..92fcff67
--- /dev/null
+++ b/docs/wrangler.toml
@@ -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"
\ No newline at end of file