Skip to content

Commit

Permalink
fix(playground): use default 3000 port for dashboard app as it's more…
Browse files Browse the repository at this point in the history
… appropriate
  • Loading branch information
paveltiunov committed Sep 27, 2019
1 parent ef559e5 commit ec4f3f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cubejs-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"whatwg-fetch": "^3.0.0"
},
"scripts": {
"start": "node generateScaffolding.js && react-app-rewired start",
"start": "node generateScaffolding.js && PORT=3080 react-app-rewired start",
"build": "node generateScaffolding.js && react-app-rewired --max-old-space-size=2048 build && rm -Rf ../cubejs-server-core/playground/** && cp -R build/ ../cubejs-server-core/playground/",
"test": "node generateScaffolding.js && react-app-rewired test",
"eject": "node generateScaffolding.js && react-scripts eject"
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-server-core/core/DevServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class DevServer {
res.json({ toInstall });
}));

const dashboardAppPort = this.cubejsServer.options.dashboardAppPort || 3050;
const dashboardAppPort = this.cubejsServer.options.dashboardAppPort || 3000;

app.get('/playground/start-dashboard-app', catchErrors(async (req, res) => {
this.cubejsServer.event('Dev Server Start Dashboard App');
Expand Down

0 comments on commit ec4f3f4

Please sign in to comment.