Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Question: Is there a way to change url? #69

Closed
GabrielMancik opened this issue Sep 28, 2017 · 2 comments
Closed

Question: Is there a way to change url? #69

GabrielMancik opened this issue Sep 28, 2017 · 2 comments

Comments

@GabrielMancik
Copy link

I can modify host, scheme or port via ProxyOptions. Can I modify also url?

I want url http://localhost:5000/Api/Controller/Id to be proxied to http://localhost:5001/Controller/Id.

Currently I have:

app.Map(@"/Api", builder => builder.RunProxy(new ProxyOptions
{
	Scheme = "http",
	Host = "localhost",
	Port = "5001"
}));
@mkosieradzki
Copy link
Contributor

It was added in #46

@GabrielMancik
Copy link
Author

Thanks. this issue can be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants