Skip to content

Commit

Permalink
Fix address in dolphin/relay connection example (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacna authored Jul 27, 2023
1 parent 8c5be55 commit 1c69b83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/dolphin-or-relay-connection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ yarn run build
2. Prepare the example by changing directory into the example folder and installing the dependencies.

```bash
cd examples/relay-connection-or-dolphin
cd examples/dolphin-or-relay-connection
yarn install
```

Expand Down
4 changes: 2 additions & 2 deletions examples/dolphin-or-relay-connection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { Ports } = require('@slippi/slippi-js')
const { ConnectionStatus, SlpLiveStream, SlpRealTime, ComboFilter, generateDolphinQueuePayload } = require("@vinceau/slp-realtime");

// TODO: Make sure you set these values!
const ADDRESS = "localhost"; // leave as is for Dolphin or a relay on the same computer
const ADDRESS = "127.0.0.1"; // leave as is for Dolphin or change to "localhost" for a relay on the same computer
const PORT = Ports.DEFAULT; // options are DEFAULT, RELAY_START, and LEGACY

const outputCombosFile = "combos.json"; // The json file to write combos to
Expand Down Expand Up @@ -89,4 +89,4 @@ realtime.combo.end$.pipe(
// comboQueue.push({path: filename, combo: payload.combo});
// }
// }
// });
// });

0 comments on commit 1c69b83

Please sign in to comment.