Skip to content

/endpoint gets proxied to /endpoint/ #43

@0xR

Description

@0xR

I have an endpoint /endpoint which I want to proxy to, however all my requests get redirected to /endpoint/ which doesn't exist.

It is set up like so:
app.use('/endpoint', proxy('http://somehost.com/endpoint'));

The error seems to be somewhere in slashJoin in index.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions