eleventy-dev-server icon indicating copy to clipboard operation
eleventy-dev-server copied to clipboard

Page reload websocket connection doesn't use `pathPrefix`

Open corneyl opened this issue 5 months ago • 1 comments

We want to use the eleventy dev server behind a reverse proxy, utilising Nginx.

However, the websocket connection, to get notified of changes, always connects to ws://localhost and does not respect the pathPrefix. All other files are served from the pathPrefix path correctly.

What do you think about using the pathPrefix for ws connections as well?

corneyl avatar Sep 04 '24 08:09 corneyl