docs: Fix docs for `-ui-content-path` CLI flag (#21095)

Fix the rendering of the documentation for the `-ui-content-path` CLI
flag.
This commit is contained in:
Blake Covarrubias 2024-05-13 15:05:23 -07:00 committed by GitHub
parent d312d0461b
commit d0ebc85765
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 5 deletions

View File

@ -554,13 +554,12 @@ information.
specifying only the `-ui` flag is enough to enable the Web UI. Specifying both specifying only the `-ui` flag is enough to enable the Web UI. Specifying both
the '-ui' and '-ui-dir' flags will result in an error. the '-ui' and '-ui-dir' flags will result in an error.
<!-- prettier-ignore -->
- `-ui-content-path` ((#\_ui\_content\_path)) - This flag provides the option - `-ui-content-path` ((#\_ui\_content\_path)) - This flag provides the option
to change the path the Consul UI loads from and will be displayed in the browser. to change the path the Consul UI loads from and will be displayed in the browser.
By default, the path is `/ui/`, for example `http://localhost:8500/ui/`. Only alphanumerics, By default, the path is `/ui/`, for example `http://localhost:8500/ui/`. Only alphanumerics,
`-`, and `_` are allowed in a custom path.`/v1/` is not allowed as it would overwrite `-`, and `_` are allowed in a custom path. `/v1/` is not allowed as it would overwrite
the API endpoint. the API endpoint.
<!-- list of reference-style links --> {/* list of reference-style links */}
[go-sockaddr]: https://godoc.org/github.com/hashicorp/go-sockaddr/template [go-sockaddr]: https://godoc.org/github.com/hashicorp/go-sockaddr/template