Skip to content

Commit ec4f3f4

Browse files
committed
fix(playground): use default 3000 port for dashboard app as it's more appropriate
1 parent ef559e5 commit ec4f3f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cubejs-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"whatwg-fetch": "^3.0.0"
3737
},
3838
"scripts": {
39-
"start": "node generateScaffolding.js && react-app-rewired start",
39+
"start": "node generateScaffolding.js && PORT=3080 react-app-rewired start",
4040
"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/",
4141
"test": "node generateScaffolding.js && react-app-rewired test",
4242
"eject": "node generateScaffolding.js && react-scripts eject"

packages/cubejs-server-core/core/DevServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class DevServer {
208208
res.json({ toInstall });
209209
}));
210210

211-
const dashboardAppPort = this.cubejsServer.options.dashboardAppPort || 3050;
211+
const dashboardAppPort = this.cubejsServer.options.dashboardAppPort || 3000;
212212

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

0 commit comments

Comments
 (0)