parse-community / parse-community/parse-dashboard

port in parse-dashboard config.json doesn't work

Open
#2,429 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
Dominant language
JavaScript
Stars
3.8k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Enviroment: parse-dashboard 5.0.0 / parse-server 6.0.0
The port in --config dashboard.json doesn't work, the only way to work is give a particular port with --port:

parse-dashboard --config dashboard.json  --port 8080

dashboard.json

{
        "apps": [{
                "serverURL": "https://server.com/parse",
                "appId": "parseserver",
                "masterKey": "keykey",
                "allowInsecureHTTP": "true",
                "port": 8080,
                "appName": "BaaS Adhoc"
        }]
}

I am not sure port should be place into the root or apps in dashboard.json, but it doesn't works as I have tried both.

Originally posted by @fdddf in https://github.com/parse-community/parse-dashboard/issues/2113#issuecomment-1521438890

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with parse-dashboard --config dashboard.json, testing the shown port placement in both the root and apps object. Trace how dashboard.json is loaded and how the CLI resolves the port; done means the configured port is used without requiring --port.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.