Skip to content

Copoder/bdsm-test

Repository files navigation

BDSMTest.top

A private, research-informed BDSM preference test built as a static Astro site for Cloudflare Pages.

Development

npm install
npm run dev

Quality gates

npm run check
npm test
npm run build
npm run test:e2e

Deployment

Cloudflare Pages settings:

  • Build command: npm run build
  • Build output: dist
  • Node.js: 22
  • Production branch: main

The only canonical origin is https://bdsmtest.top.

Direct production deployment:

npm run deploy

Cloudflare Pages project: bdsm-test. The apex and www custom domains are registered on the project. Activating them requires adding bdsmtest.top as a Cloudflare zone and changing the registrar nameservers from DNSPod to the two nameservers assigned by Cloudflare.

Preview builds use the apex canonical, append X-Robots-Tag: noindex, and omit the sitemap when CF_PAGES_BRANCH is set to a branch other than main. The pages.dev runtime also receives a client-side noindex meta tag as defense in depth until it can redirect to the active custom domain.

About

Private, research-informed BDSM preference test built with Astro for Cloudflare Pages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors