Skip to content

Commit

Permalink
chore: path
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Nov 13, 2023
1 parent 5154d75 commit 917501f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ import { BrowserRouter } from 'react-router-dom';
import BaseLayout from '@/layouts/base';
import './index.css';

function App() {
return (
<BrowserRouter>
<BaseLayout />
</BrowserRouter>
)
}

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
<BrowserRouter basename="/gpthub/">
<BaseLayout />
</BrowserRouter>
</React.StrictMode>,
)

0 comments on commit 917501f

Please sign in to comment.