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

It doesn't work with proxy #128

Closed
GabrielBB opened this issue Sep 5, 2019 · 1 comment
Closed

It doesn't work with proxy #128

GabrielBB opened this issue Sep 5, 2019 · 1 comment

Comments

@GabrielBB
Copy link
Contributor

GabrielBB commented Sep 5, 2019

So i have this in my package.json: "proxy": "http://localhost:8080/"

But react-stomp is assuming the protocol. It uses ws when i want to use http. Check this error.

image

This is my component:

image

I believe if it sets http instead of ws my component would work properly

@GabrielBB
Copy link
Contributor Author

I don't think this is a problem with this component but with create-react-app itself (facebook/create-react-app#5280) . I'm closing

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

1 participant