Skip to content

fix(docs): set baseUrl to / for custom domain deployment#230

Merged
steilerDev merged 2 commits into
betafrom
fix/docs-baseurl
Feb 23, 2026
Merged

fix(docs): set baseUrl to / for custom domain deployment#230
steilerDev merged 2 commits into
betafrom
fix/docs-baseurl

Conversation

@steilerDev
Copy link
Copy Markdown
Owner

Summary

  • Fixes the broken docs site at cornerstone.steiler.dev — the "Docusaurus site did not load properly" error
  • GitHub Pages has a custom domain (cornerstone.steiler.dev) configured, which serves the site from / (root)
  • The previous baseUrl: '/cornerstone/' was correct for the default steilerDev.github.io/cornerstone/ path, but causes all assets to 404 under the custom domain
  • Also updates url from https://steilerDev.github.io to https://cornerstone.steiler.dev

Note: This is a docs-site hotfix. After merging to beta, a promotion PR to main is needed to trigger docs deployment.

Test plan

  • Merge to beta, then promote to main
  • Docs deploy workflow succeeds after promotion
  • cornerstone.steiler.dev loads correctly (no baseUrl mismatch error)

🤖 Generated with Claude Code

The Login page screenshot test used `browser.newContext()` to get an
unauthenticated session, but this bare context lacked all project-level
settings (viewport, baseURL, timeouts, device emulation), causing the
SPA to never render within the timeout on CI.

Switch to `test.use({ storageState: { cookies: [], origins: [] } })`
which clears auth cookies while preserving all project settings —
matching the proven pattern used by auth-guard and login-logout tests.

Also fix the `screenshots` script in e2e/package.json to reference the
correct `desktop` project name (not the non-existent `desktop-lg`).

Co-Authored-By: Claude <noreply@anthropic.com>
GitHub Pages is configured with custom domain `cornerstone.steiler.dev`,
which serves the site from root `/`. The previous `baseUrl: '/cornerstone/'`
was correct for the default `steilerDev.github.io/cornerstone/` path but
causes all assets to 404 under the custom domain.

Co-Authored-By: Claude <noreply@anthropic.com>
@steilerDev steilerDev merged commit 9a40e24 into beta Feb 23, 2026
10 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.9.0-beta.64 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants