Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow proxying sub-paths to other server implementation for better development cycle #44

Open
hejfelix opened this issue Dec 14, 2017 · 1 comment

Comments

@hejfelix
Copy link

When developing react apps, I've been using webpack proxy to forward /api/* to e.g. localhost:9000/api/* for speedy development of single page web apps.
Correct me if I'm wrong, but I don't see any way to proxy servers with workbench.

Effectively, this gives my web-app the illusion that it is being hosted on the actual server allowing me to keep relative paths everywhere. (autowire is not an option for me currently).

Would it be much work to add a configuration to forward some sub-path to a user chosen URL?

@ochrons
Copy link
Collaborator

ochrons commented Dec 21, 2017

Do you mean a real proxy or just a redirect? If you can provide an implementation in a PR, I'm happy to include it :)

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

No branches or pull requests

2 participants