From 99eeadeb71d2fad52e104462225a1b05e8b0c5d1 Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Mon, 10 Jun 2024 17:03:16 +0200 Subject: [PATCH] Add missing http:// in apiRoot option (#1073) --- site/docs/es/guide/api.md | 2 +- site/docs/guide/api.md | 2 +- site/docs/id/guide/api.md | 2 +- site/docs/uk/guide/api.md | 2 +- site/docs/zh/guide/api.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/docs/es/guide/api.md b/site/docs/es/guide/api.md index 553db062a..3c491dbf9 100644 --- a/site/docs/es/guide/api.md +++ b/site/docs/es/guide/api.md @@ -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" }, }); ``` diff --git a/site/docs/guide/api.md b/site/docs/guide/api.md index b5fe15ac5..25a9ee3ef 100644 --- a/site/docs/guide/api.md +++ b/site/docs/guide/api.md @@ -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" }, }); ``` diff --git a/site/docs/id/guide/api.md b/site/docs/id/guide/api.md index 97b8b6bcb..a5a936dba 100644 --- a/site/docs/id/guide/api.md +++ b/site/docs/id/guide/api.md @@ -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" }, }); ``` diff --git a/site/docs/uk/guide/api.md b/site/docs/uk/guide/api.md index b6290a20e..6ac4cac0f 100644 --- a/site/docs/uk/guide/api.md +++ b/site/docs/uk/guide/api.md @@ -268,7 +268,7 @@ https://api.telegram.org/bot<токен>/logOut ```ts const bot = new Bot("", { // <-- використовуйте той самий токен, що й раніше - client: { apiRoot: "localhost:8081" }, + client: { apiRoot: "http://localhost:8081" }, }); ``` diff --git a/site/docs/zh/guide/api.md b/site/docs/zh/guide/api.md index ab9b82dfa..c4102ed4d 100644 --- a/site/docs/zh/guide/api.md +++ b/site/docs/zh/guide/api.md @@ -268,7 +268,7 @@ https://api.telegram.org/bot/logOut ```ts const bot = new Bot("", { // <-- 使用跟前面一样的 token - client: { apiRoot: "localhost:8081" }, + client: { apiRoot: "http://localhost:8081" }, }); ```