Closed GabrielBB closed 5 years ago
So i have this in my package.json: "proxy": "http://localhost:8080/"
"proxy": "http://localhost:8080/"
But react-stomp is assuming the protocol. It uses ws when i want to use http. Check this error.
ws
http
This is my component:
I believe if it sets http instead of ws my component would work properly
I don't think this is a problem with this component but with create-react-app itself (https://github.com/facebook/create-react-app/issues/5280) . I'm closing
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 usehttp
. Check this error.This is my component:
I believe if it sets http instead of ws my component would work properly