Skip to content

Commit

Permalink
Fix code snippet formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenAR authored Jan 1, 2024
1 parent d68ff50 commit 67d6a09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,11 @@ To connect from an external computer you must configure SimConnect to accept con

Connecting from a remote script can be done by providing the IP address of the flight simulator PC and the port number when calling `open`:

```js
const options = { remote: { host: 'localhost', port: 5111 } };
```js
const options = { remote: { host: 'localhost', port: 5111 } };

open('My SimConnect client', Protocol.FSX_SP2, options).then(/* ... */).catch(/* try again? */);
```
open('My SimConnect client', Protocol.FSX_SP2, options).then(/* ... */).catch(/* try again? */);
```

Note that if no connection options are specified, `node-simconnect` will auto-discover connection details in the following order:

Expand Down

0 comments on commit 67d6a09

Please sign in to comment.