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

ERR_CONFIG_FACTORY_TARGET_MISSING thrown when using options.router #416

Closed
zachsa opened this issue Mar 27, 2020 · 1 comment · Fixed by #512
Closed

ERR_CONFIG_FACTORY_TARGET_MISSING thrown when using options.router #416

zachsa opened this issue Mar 27, 2020 · 1 comment · Fixed by #512

Comments

@zachsa
Copy link

zachsa commented Mar 27, 2020

Instead of using options.target, I want to use options.router. I have found that options requires a 'target' property though, even though it will never be used.

This isn't really a big thing, except that it would be nicer to not have a dummy target specified when using the router.

If I'm missing functionality that target is providing despite router being used please point it out to me!

If I don't have options.target I get the ERR_CONFIG_FACTORY_TARGET_MISSING

@zachsa
Copy link
Author

zachsa commented Mar 27, 2020

Just a comment - even though it's a small thing, it creates confusion - for example https://stackoverflow.com/questions/56571972/how-to-proxy-to-many-different-targets-using-http-proxy-middleware

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

Successfully merging a pull request may close this issue.

2 participants