mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
Prep docs for Cloudflare worker migration (Pages is apparently deprecated/no longer recommended)
This commit is contained in:
4
docs/public/_headers
Normal file
4
docs/public/_headers
Normal 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
7
docs/wrangler.toml
Normal 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"
|
||||||
Reference in New Issue
Block a user