microsoft / dev-tunnels

Dev Tunnels SDK
MIT License
286 stars 20 forks source link

Fix cluster ID logic for tunnels.local.api... hostname #430

Closed jasongin closed 5 months ago

jasongin commented 5 months ago

For local development and testing, instead of localhost we sometimes use the tunnels.local.api.visualstudio.com hostname (which still resolves to 127.0.0.1). Local development simulates multiple clusters via multiple ports instead of a hostname prefix, and the same should work for the alternative hostname.