diff --git a/README.md b/README.md index e389170..ae0a56c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ also be set to a strong, random password. repertory.exe -set RemoteMount.RemoteToken "my password" [Optional - change listening port] - repertory.exe -set RemoteMount.RemotePort 202020 + repertory.exe -set RemoteMount.RemotePort 20202 ``` ### Enabling Sia Remote Mount API on *NIX Systems @@ -32,7 +32,7 @@ also be set to a strong, random password. ./repertory -set RemoteMount.RemoteToken "my password" [Optional - change listening port] - ./repertory -set RemoteMount.RemotePort 202020 + ./repertory -set RemoteMount.RemotePort 20202 ``` ### Skynet and ScPrime Mounts @@ -185,7 +185,7 @@ await api.file.upload('C:\\my_file.txt', '/my_file.txt', progress_cb, false, tru // Truncate / resize file { const f = await api.file.create_or_open('/my_file.txt'); - const b = await f.truncate(10); + await f.truncate(10); await f.close(); } ```