Add URL for index.html page for WebSocket sample

Turns out the CORS is always enabled for WebSocket with SockJS.
So, since we cannot predict an URL for the `index.html` therefore we always recommend open it on the same host port as server application - `http://localhost:8080`
This commit is contained in:
Chris Dickinson
2022-12-20 17:54:20 +01:00
committed by GitHub
parent 7130646139
commit 7dec6980eb

View File

@@ -21,7 +21,7 @@ The `org.springframework.integration.samples.websocket.standard.client.Applicati
## Browser Client
The `index.html` in the `src/main/resources/static` directory of this project demonstrates a JavaScript `SockJS` client, which connects
to our server and just prints its messages in the middle of page.
to our server and just prints its messages in the middle of page. It can be reached at http://localhost:8080/index.html.
## Test Case