Skip to content

Commit

Permalink
Use React HashRouter for github pages routing
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexagod committed Oct 4, 2020
1 parent 786f284 commit 8fc40c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import './index.css';
import App from './App';
import HelpContainerComponent from './Components/HelpContainerComponent'
import * as serviceWorker from './serviceWorker';
import { Route, Link, BrowserRouter as Router, Switch } from 'react-router-dom'
import { Route, Link, HashRouter as Router, Switch } from 'react-router-dom'

ReactDOM.render(

<React.StrictMode>
<Router>
<Router basename='/'>
<Switch>
<Route path="/help">
<HelpContainerComponent />
Expand Down

0 comments on commit 8fc40c8

Please sign in to comment.