mirror of
https://codeberg.org/spire/webrcon.git
synced 2026-06-03 17:24:07 +02:00
Update README.md
This commit is contained in:
parent
34a59a2f93
commit
d5877b02cf
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ npm install --save webrcon
|
|||
```js
|
||||
import Rcon from 'webrcon';
|
||||
|
||||
const rcon = new Rcon('127.0.0.1', 'secret_rcon_password');
|
||||
const rcon = new Rcon('127.0.0.1', 'secret_rcon_password', '27021');
|
||||
|
||||
(async () => {
|
||||
const result = await rcon.status();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue