Skip to content

Commit

Permalink
refactor(app): update basepath for migration to custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvnilsson committed May 11, 2020
1 parent 96205a8 commit 09b2d22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import Home from "Pages/Home";
import Portfolio from "Pages/Portfolio";
import Toolbox from "Pages/Toolbox";

const appBasePath = process.env.NODE_ENV === "development" ? "/" : "/personal";

// @TODO Implement https://github.com/maisano/react-router-transition

export default class App extends Component {
Expand Down Expand Up @@ -56,7 +54,7 @@ export default class App extends Component {
render() {
return (
<Provider store={store}>
<Router basename={appBasePath}>
<Router>
<RestoreScroll>
<AppHeader />

Expand Down

0 comments on commit 09b2d22

Please sign in to comment.