dengliming opened a new issue, #629:
URL: https://github.com/apache/shenyu-dashboard/issues/629
## Description
When an environment is selected, the host is composed as
`${url.protocol}//${url.hostname}:${url.port || "80"}`. For an `https://`
address with no explicit port this yields `https://host:80/...`.
## Location
(Lines refer to `master @ 83969a5`.)
- `src/routes/Document/components/ApiDebug.js:273-277`
## Impact
Selecting an HTTPS environment produces requests to port 80 over TLS, which
fail.
## Suggested fix
Use `url.host` (which already includes the port only when non-default): ``
`${url.protocol}//${url.host}` ``.
## Related existing
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]