Skip to content

Commit

Permalink
Merge pull request #19 from PolyCortex/web/fix-url-redirection
Browse files Browse the repository at this point in the history
[Web] Fix URL redirection with github pages
  • Loading branch information
William Harvey authored Sep 19, 2020
2 parents b6fb322 + 732227d commit 72c727c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ScrollToTop from 'components/scroll_to_top';
import Emoji from 'components/emoji';

ReactDOM.render(
<BrowserRouter>
<BrowserRouter basename={process.env.PUBLIC_URL}>
<ScrollToTop>
<Switch>
<Route exact path="/" render={() => <SleepAnalysis />} />
Expand Down

0 comments on commit 72c727c

Please sign in to comment.