Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit7488bbf

Browse files
karan925tyaga001
authored andcommitted
Update base URL and redirect to external documentation
1 parent3992b66 commit7488bbf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/pages/index.tsx‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
import{Redirect}from"@docusaurus/router";
1+
import{useEffect}from"react";
22

33
exportdefaultfunctionHome():JSX.Element{
44
// const { siteConfig } = useDocusaurusContext();
5-
return<Redirectto="/docs/introduction"/>;
5+
useEffect(()=>{
6+
// Redirect to external URL when the component mounts
7+
window.location.href="https://docs.coderabbit.ai";
8+
},[]);
9+
return<></>;
610
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp