Skip to content

change localhost:[port] outbound links to /proxy/[port] or [port].domain #2879

@bpmct

Description

@bpmct

Problem: it's not especially clear in code-server that web services can be proxied through code-server. If code-server isn't on a local machine any links in terminal to localhost will fail. See https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-do-i-securely-access-web-services

Links in the VS Code terminal are clickable. If the user has a config setting set, perhaps we could override localhost links address to actually go to our proxy URL instead. I am not sure how technically feasible this is, but this would probably be valuable with code-server in Coder workspaces as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions