Skip to content

Commit baaa5c3

Browse files
authored
[CSL-1703] Fix GH pages integration (#6)
1 parent e5f974c commit baaa5c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function App() {
1010
<div className="App p-5 max-w-lg sm:max-w-7xl mx-auto">
1111
<Routes>
1212
<Route
13-
path="/"
13+
path="*"
1414
element={ <Layout /> }
1515
>
1616
<Route

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import App from './App';
77
const root = ReactDOM.createRoot(document.getElementById('root'));
88
root.render(
99
<React.StrictMode>
10-
<BrowserRouter>
10+
<BrowserRouter basename={ process.env.PUBLIC_URL }>
1111
<App />
1212
</BrowserRouter>
1313
</React.StrictMode>,

0 commit comments

Comments
 (0)