bigskysoftware / htmx-extensions

167 stars 51 forks source link

docs: migrate realtime server implementation #103

Closed KianYang-Lee closed 1 month ago

KianYang-Lee commented 1 month ago

This commit moves the realtime server for testing WebSockets and Server Sent Events (SSE) in htmx that was originally in the htmx repository to the current repository.

Added a new package.json file to install ws dependency, since originally it relies on the project root package.json. Also updated the loading of htmx.js file to use CDN instead, and corrected the relative paths for the ws.js and sse.js files.

This should be viewed in pair with PR https://github.com/bigskysoftware/htmx/pull/2955

netlify[bot] commented 1 month ago

Deploy Preview for htmx-extensions canceled.

Name Link
Latest commit 2ae68c78a70f1c1e6ba6b43037ad64f12eb846d9
Latest deploy log https://app.netlify.com/sites/htmx-extensions/deploys/670633a86d65a70008905881
Telroshan commented 1 month ago

Thanks !