Skip to content

Commit 87eee07

Browse files
authored
Add web fallback to home for now (#7)
As github pages was not finding post route on reload
1 parent 2c3fa99 commit 87eee07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ function App() {
88
<div className="page">
99
<main className="content">
1010
<Routes>
11-
<Route path="/" element={<Home />} />
1211
<Route path="/posts/:slug" element={<Post />} />
12+
<Route path="*" element={<Home />} />
1313
</Routes>
1414
</main>
1515
</div>

0 commit comments

Comments
 (0)