We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f974c commit baaa5c3Copy full SHA for baaa5c3
src/App.jsx
@@ -10,7 +10,7 @@ function App() {
10
<div className="App p-5 max-w-lg sm:max-w-7xl mx-auto">
11
<Routes>
12
<Route
13
- path="/"
+ path="*"
14
element={ <Layout /> }
15
>
16
src/index.jsx
@@ -7,7 +7,7 @@ import App from './App';
7
const root = ReactDOM.createRoot(document.getElementById('root'));
8
root.render(
9
<React.StrictMode>
- <BrowserRouter>
+ <BrowserRouter basename={ process.env.PUBLIC_URL }>
<App />
</BrowserRouter>
</React.StrictMode>,
0 commit comments