tidb-dashboard icon indicating copy to clipboard operation
tidb-dashboard copied to clipboard

`--path-prefix` not working as expected

Open mornyx opened this issue 1 year ago • 0 comments
trafficstars

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

mornyx avatar Jun 20 '24 15:06 mornyx