diff --git a/docs/WORKFLOW-SUMMARY.md b/docs/WORKFLOW-SUMMARY.md index 21a3e17..480c689 100644 --- a/docs/WORKFLOW-SUMMARY.md +++ b/docs/WORKFLOW-SUMMARY.md @@ -100,4 +100,4 @@ pnpm build # Vite build ## Related Documentation - [CI-WORKSPACE-SETUP.md](CI-WORKSPACE-SETUP.md) - Detailed explanation of the workspace setup -- [Blit-Tech CI](https://github.com/vancura/blit-tech/.github/workflows/) - Library's own CI workflows +- [Blit-Tech CI](https://github.com/vancura/blit-tech/tree/main/.github/workflows) - Library's own CI workflows diff --git a/public/_headers b/public/_headers new file mode 100644 index 0000000..94c84e1 --- /dev/null +++ b/public/_headers @@ -0,0 +1,7 @@ +# Cloudflare Pages Headers Configuration +# This file configures HTTP headers for the deployed site. + +# Allow embedding in iframes from ambilab.com and Framer sites +/* + Content-Security-Policy: frame-ancestors https://ambilab.com https://*.framer.app + X-Frame-Options: ALLOW-FROM https://ambilab.com diff --git a/vite.config.ts b/vite.config.ts index 5d4fab8..b81dbdc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -89,6 +89,10 @@ export default defineConfig(({ command }) => { src: 'public/fonts/*', dest: 'fonts', }, + { + src: 'public/_headers', + dest: '.', + }, ], }), flattenDemosPlugin(),