Commit a9a1f12b authored by Eugene Ostroukhov's avatar Eugene Ostroukhov
Browse files

inspector: report client-visible host and port

Node instance may not know the real host and port user sees when
debug frontend connects through the SSH tunnel. This change fixes
'/json/list' response by using the value client provided in the host
header.

PR-URL: https://github.com/nodejs/node/pull/19664


Reviewed-By: default avatarTiancheng "Timothy" Gu <timothygu99@gmail.com>
parent 6de1a12e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment