diff --git a/README.md b/README.md index 0bbd146..4f20a1f 100644 --- a/README.md +++ b/README.md @@ -8,17 +8,17 @@ This is an example of the FABRIK algorithm implemented in Typescript. Using html ## 2D Example -[2D Single Chain](https://ruichen0101.github.io/fabrik-example/2d/single-end) +[2D Single Chain](https://ruichen0101.github.io/fabrik-example#/2d/single-end) -[2D Multi Chain](https://ruichen0101.github.io/fabrik-example/2d/multi-end) +[2D Multi Chain](https://ruichen0101.github.io/fabrik-example#/2d/multi-end) ## 3D Example -[3D Single Chain](https://ruichen0101.github.io/fabrik-example/3d/single-end) +[3D Single Chain](https://ruichen0101.github.io/fabrik-example#/3d/single-end) -[3D Multi Chain](https://ruichen0101.github.io/fabrik-example/3d/multi-end) +[3D Multi Chain](https://ruichen0101.github.io/fabrik-example#/3d/multi-end) -[3D Full Body](https://ruichen0101.github.io/fabrik-example/3d/full-body) +[3D Full Body](https://ruichen0101.github.io/fabrik-example#/3d/full-body) ## Running the project diff --git a/src/router/Router.tsx b/src/router/Router.tsx index 4336557..7c0bc3b 100644 --- a/src/router/Router.tsx +++ b/src/router/Router.tsx @@ -1,5 +1,5 @@ import { Component, ReactNode, lazy } from 'react'; -import { Routes, Route, BrowserRouter } from 'react-router-dom'; +import { Routes, Route, BrowserRouter, HashRouter } from 'react-router-dom'; import { withSuspense } from '../wrapper/WithSuspense'; @@ -17,7 +17,7 @@ const FullBody = withSuspense(lazy(() => import('../3d/FullBody'))); class Router extends Component { render(): ReactNode { return ( - + }> } /> @@ -29,7 +29,7 @@ class Router extends Component { } /> - + ); } }