Set base path
This commit is contained in:
parent
a13d8c9c5d
commit
4ff46b5103
3 changed files with 5 additions and 5 deletions
|
@ -9,9 +9,9 @@ const App = () => (
|
|||
<div className={styles.App}>
|
||||
<Routes>
|
||||
<Route index element={<Home />} />
|
||||
<Route path="/movie/:movieId" element={<Movie />} />
|
||||
<Route path="/actor/:actorId" element={<Actor />} />
|
||||
<Route path="/ratings" element={<Ratings />} />
|
||||
<Route path="movie/:movieId" element={<Movie />} />
|
||||
<Route path="actor/:actorId" element={<Actor />} />
|
||||
<Route path="ratings" element={<Ratings />} />
|
||||
<Route path="*" element={<h1>404 - Not Found</h1>} />
|
||||
</Routes>
|
||||
</div>
|
||||
|
|
Reference in a new issue