Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(website): format the wrangler configs, redirect www straight to https, refresh README notes
EtienneLescotd171056f45b8
diff --git a/website/README.md b/website/README.mdindex 2f9f5e181..b9a5baf9f 100644--- a/website/README.md+++ b/website/README.md@@ -7,7 +7,7 @@ Docusaurus 3 site. Lives in `website/` inside the monorepo. Deployed to Cloudfla```shcd websitenpm install-npm run dev # http://localhost:3000/openscreen/+npm run dev # http://localhost:3000/```## Build@@ -25,6 +25,4 @@ npm run typecheck## Notes-- Site URL: <https://getopenscreen.github.io/openscreen/>-- The base URL is `/openscreen/` because the org-level Pages site hosts multiple projects.-- Docs migration from `docs/` (root) → `website/docs/` happens in a follow-up PR. For now only the intro page is published.\ No newline at end of file+- Site URL: <https://getopenscreen.com/>, served from the domain root (`baseUrl: "/"`).diff --git a/website/wrangler.jsonc b/website/wrangler.jsoncindex 294ef1296..3522ac9dd 100644--- a/website/wrangler.jsonc+++ b/website/wrangler.jsonc@@ -9,7 +9,7 @@"assets": {"directory": "./build",// The nearest 404.html, so /fr/missing/ gets the French page, not the English one.- "not_found_handling": "404-page",+ "not_found_handling": "404-page"},// A route on the proxied apex, not a custom domain: Cloudflare will not attach a// custom domain over existing DNS records (error 100117). With a route, the move off@@ -17,5 +17,5 @@"routes": [{ "pattern": "getopenscreen.com/*", "zone_name": "getopenscreen.com" }],// The site has one address; a workers.dev copy would be a duplicate of it."workers_dev": false,- "preview_urls": false,+ "preview_urls": false}diff --git a/website/www-redirect/index.js b/website/www-redirect/index.jsindex e094f2b6e..a6d936df9 100644--- a/website/www-redirect/index.js+++ b/website/www-redirect/index.js@@ -4,6 +4,7 @@export default {fetch(request) {const url = new URL(request.url);+ url.protocol = "https:";url.hostname = "getopenscreen.com";return Response.redirect(url.toString(), 301);},diff --git a/website/www-redirect/wrangler.jsonc b/website/www-redirect/wrangler.jsoncindex 0d72cd703..3c86cb9ba 100644--- a/website/www-redirect/wrangler.jsonc+++ b/website/www-redirect/wrangler.jsonc@@ -7,5 +7,5 @@"workers_dev": false,"preview_urls": false,// A route, like the site's: the www record only has to be proxied.- "routes": [{ "pattern": "www.getopenscreen.com/*", "zone_name": "getopenscreen.com" }],+ "routes": [{ "pattern": "www.getopenscreen.com/*", "zone_name": "getopenscreen.com" }]}