Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--path-prefix not working as expected #1692

Open
mornyx opened this issue Jun 20, 2024 · 0 comments
Open

--path-prefix not working as expected #1692

mornyx opened this issue Jun 20, 2024 · 0 comments
Labels

Comments

@mornyx
Copy link
Collaborator

mornyx commented Jun 20, 2024

Bug Report

What did you do?

  1. Build tidb-dashboard binary.
SKIP_GEN_API=1 make package
  1. Run TiDB cluster.
tiup playground
  1. Run standalone tidb-dashboard with --path-prefix.
./bin/tidb-dashboard --debug --experimental --feature-version 999.999.999 --host 0.0.0.0 --path-prefix=/test
  1. Access http://localhost:12333/test

What did you expect to see?

TiDB dashboard login page serve on http://localhost:12333/test.

What did you see instead?

Jump back to http://localhost:12333/dashboard and load the page forever.

image

What version of TiDB Dashboard are you using (./tidb-dashboard --version)?

master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant