Skip to content

Commit

Permalink
Merge pull request #1 from vasicvuk/multi_platform_fix_and_routes
Browse files Browse the repository at this point in the history
POCKET_AUTH not exists. Fixing package.json so it can run on Windows
  • Loading branch information
vasicvuk authored Apr 28, 2017
2 parents 893358a + 273f11f commit de9665b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "./node_modules/webpack-dashboard/bin/webpack-dashboard.js -t 'React-Redux Boilerplate' -- ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"start": "webpack-dashboard -- webpack-dev-server --colors --no-info",
"build": "rm -rf ./build && NODE_ENV=\"production\" ./node_modules/webpack/bin/webpack.js",
"lint-break-on-errors": "./node_modules/eslint/bin/eslint.js ./source/js ./webpack.config.js -f table --ext .js --ext .jsx",
"lint": "./node_modules/eslint/bin/eslint.js ./source/js ./webpack.config.js -f table --ext .js --ext .jsx || true",
Expand Down
2 changes: 1 addition & 1 deletion source/js/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class Routes extends Component {
<Router history={ browserHistory }>
<Route path={ publicPath } component={ App }>
<IndexRoute component={ Dashboard } />
<Route path={ routeCodes.POCKET_AUTH } component={ Dashboard } />
<Route path={ routeCodes.DASHBOARD } component={ Dashboard } />
<Route path={ routeCodes.ABOUT } component={ About } />

<Route path='*' component={ NotFound } />
Expand Down

0 comments on commit de9665b

Please sign in to comment.