Skip to content

Commit

Permalink
Add missing http:// in apiRoot option (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf authored Jun 10, 2024
1 parent 419067e commit 99eeade
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion site/docs/es/guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Entonces deberías usar la siguiente configuración.

```ts
const bot = new Bot("", { // <-- usa el mismo token que antes
client: { apiRoot: "localhost:8081" },
client: { apiRoot: "http://localhost:8081" },
});
```

Expand Down
2 changes: 1 addition & 1 deletion site/docs/guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ You should then use the following configuration.

```ts
const bot = new Bot("", { // <-- use the same token as before
client: { apiRoot: "localhost:8081" },
client: { apiRoot: "http://localhost:8081" },
});
```

Expand Down
2 changes: 1 addition & 1 deletion site/docs/id/guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Maka, konfigurasi yang digunakan adalah sebagai berikut.

```ts
const bot = new Bot("", { // <-- gunakan token yang sama seperti sebelumnya
client: { apiRoot: "localhost:8081" },
client: { apiRoot: "http://localhost:8081" },
});
```

Expand Down
2 changes: 1 addition & 1 deletion site/docs/uk/guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ https://api.telegram.org/bot<токен>/logOut

```ts
const bot = new Bot("", { // <-- використовуйте той самий токен, що й раніше
client: { apiRoot: "localhost:8081" },
client: { apiRoot: "http://localhost:8081" },
});
```

Expand Down
2 changes: 1 addition & 1 deletion site/docs/zh/guide/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ https://api.telegram.org/bot<token>/logOut

```ts
const bot = new Bot("", { // <-- 使用跟前面一样的 token
client: { apiRoot: "localhost:8081" },
client: { apiRoot: "http://localhost:8081" },
});
```

Expand Down

0 comments on commit 99eeade

Please sign in to comment.