mirror of
https://github.com/trycua/computer.git
synced 2026-01-02 03:20:22 -06:00
Merge pull request #543 from sarinali/fix/docs.cua.ai-prefix
fix redirects on docs.cua.ai
This commit is contained in:
@@ -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
4856
docs/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user