Skip to content

Commit

Permalink
Add README note about specifying the "ws" parameter when developing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Oct 15, 2023
1 parent c2c9dcd commit a3a4578
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ Run the development server:
```
npm run dev -- --open
```

The web interface tries to open a WebSocket to the same host it's being served from, which is wrong when running the
development server. Override the WebSocket URL using the `ws` query parameter, like this:

```
http://localhost:5173/?ws=ws://localhost:8080
```

0 comments on commit a3a4578

Please sign in to comment.