Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(website): serve the docs site from the custom domain root

Etienne Lescot1b340cb2f178
diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts
index e33986618..7f866cdb5 100644
--- a/website/docusaurus.config.ts
+++ b/website/docusaurus.config.ts
@@ -41,8 +41,11 @@ export default async function createConfig(): Promise<Config> {
tagline: "A free, open-source screen recorder and editor.",
favicon: "img/logo-icon.png",
- url: "https://getopenscreen.github.io",
- baseUrl: "/openscreen/",
+ // Pages serves this from the custom domain's root, not from
+ // getopenscreen.github.io/openscreen/, so baseUrl has to be "/" — a project
+ // baseUrl would prefix every asset URL with a path the server has nothing at.
+ url: "https://getopenscreen.com",
+ baseUrl: "/",
organizationName: "getopenscreen",
projectName: "openscreen",