Skip to content

Cannot change path in target site? #758

@yleemj

Description

@yleemj

If the income request url is http://example.com/abc, and then we call

proxy.web(req, res, {target: "http://target.com:8080"})

the request will be proxied to http://target.com:8080/abc, can it be proxied to a different path, e..g http://target.com:8080/something_else/xxxx, or just http://target.com:8080?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions