Skip to content

Commit

Permalink
Deploy website - based on 8fc27a2
Browse files Browse the repository at this point in the history
  • Loading branch information
NaveOWO committed Jan 3, 2024
1 parent 26bb2d6 commit 3d3ed35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion my-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const config = {
favicon: "img/favicon.ico",

// Set the production url of your site here
url: "https://naveowo.github.io",
url: "https://NaveOWO.github.io",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/navrary-CK-util-componenets/",
Expand Down
10 changes: 5 additions & 5 deletions my-website/src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { Redirect } from "@docusaurus/router";
export default function Home() {
const isBrowser = useIsBrowser();

// if (isBrowser) {
return (
<Redirect to={`/navrary-CK-util-componenets/docs/Overview/Introduce`} />
);
// }
if (isBrowser) {
return (
<Redirect to={`/navrary-CK-util-componenets/docs/Overview/Introduce`} />
);
}

return null;
}

0 comments on commit 3d3ed35

Please sign in to comment.