Merge pull request #543 from sarinali/fix/docs.cua.ai-prefix

fix redirects on docs.cua.ai
This commit is contained in:
Sarina Li
2025-11-03 13:58:43 -05:00
committed by GitHub
2 changed files with 3210 additions and 1660 deletions

View File

@@ -24,6 +24,20 @@ const config = {
basePath: false, // Important: this bypasses the basePath
permanent: false,
},
// Redirect old docs.cua.ai URLs to cua.ai/docs with 301 for SEO
// This handles URLs that Google has indexed from the old domain
{
source: '/:path*',
has: [
{
type: 'host',
value: 'docs.cua.ai',
},
],
destination: 'https://cua.ai/docs/:path*',
permanent: true, // 301 redirect to preserve SEO authority
basePath: false,
},
];
},
images: {

4856
docs/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff