Skip to content

Commit

Permalink
fix: change webpack dev server port to avoid websocket conflict (#77)
Browse files Browse the repository at this point in the history
chore: change webpack dev server port to avoid websocket conflict
  • Loading branch information
Einstellung authored Dec 5, 2024
1 parent d7b250d commit 2b78361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 1 addition & 8 deletions demo/interactive-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,4 @@ wstcp --bind-addr 127.0.0.1:55688 swapi.dev:443
npm link
npm run dev
```
3. Open <http://localhost:8080/> and click **Start Prover**

## Troubleshooting

* `Failed to connect to the server. CloseEvent...`:
* Did you start the Verifier?
* Did you start the Websocket Proxy?
* Is the Server online?
3. Open <http://localhost:3456/> and click **Start Prover**
3 changes: 3 additions & 0 deletions demo/interactive-demo/prover-ts/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ var options = {
// - https://github.com/GoogleChromeLabs/wasm-bindgen-rayon#setting-up
// - https://web.dev/i18n/en/coop-coep/
devServer: {
port: 3456,
host: 'localhost',
hot: true,
headers: {
'Cross-Origin-Embedder-Policy': 'require-corp',
'Cross-Origin-Opener-Policy': 'same-origin',
Expand Down

0 comments on commit 2b78361

Please sign in to comment.