[Documentation] Update location of ws/sse demo server (#3052)

This commit is contained in:
Ryan Kilpadi 2024-11-30 10:30:53 +01:00 committed by GitHub
parent ffbcd9291c
commit 445fddeb28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -137,8 +137,9 @@ browser's automatic reconnection, so that your SSE streams will always be as rel
### Testing SSE Connections with the Demo Server
Htmx includes a demo SSE server written in Node.js that will help you to see SSE in action, and begin bootstrapping your
own SSE code. It is located in the /test/ws-sse folder of the htmx distribution. Look at /test/ws-sse/README.md for
instructions on running and using the test server.
own SSE code. It is located in the /test/ws-sse folder of
the [`htmx-extensions`](https://github.com/bigskysoftware/htmx-extensions) repository. Look at /test/ws-sse/README.md
for instructions on running and using the test server.
### Migrating from Previous Versions

View File

@ -241,8 +241,9 @@ specified element, namely `htmx:wsBeforeSend` and `htmx:wsAfterSend` events when
### Testing with the Demo Server
Htmx includes a demo WebSockets server written in Node.js that will help you to see WebSockets in action, and begin
bootstrapping your own WebSockets code. It is located in the /test/ws-sse folder of the htmx distribution. Look at
/test/ws-sse/README.md for instructions on running and using the test server.
bootstrapping your own WebSockets code. It is located in the /test/ws-sse folder of
the [`htmx-extensions`](https://github.com/bigskysoftware/htmx-extensions) repository. Look at /test/ws-sse/README.md
for instructions on running and using the test server.
### Migrating from Previous Versions