If the site has multiple environments, e.g. stage, prod.
Is there a convenient way to change it? Or use environment variable to control it instead creating multiple tunnels for each environment?
Core Tunnel does not support environment variable substitution. However, you can press Command+D to quickly duplicate an existing port forwarding, making it easier to create a new one.
Yang
