diff --git a/README.md b/README.md index 2b06986..51d6262 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ curl -X POST http://localhost:3000/clear-all-sms **Пример запроса:** ```bash -curl http://localhost:3000/balance.php +curl http://localhost:3000/balance ``` **Ответ:** @@ -171,7 +171,7 @@ environment: - `POST /sms/send` - `GET /sms/view-all-sms` - `POST /sms/clear-all-sms` -- `GET /sms/balance.php` +- `GET /sms/balance` - `GET /sms/` - веб-интерфейс Изменение порта в docker-compose.yml: diff --git a/VERSION b/VERSION index 87a0871..448a0fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.3 \ No newline at end of file +0.3.4 \ No newline at end of file diff --git a/server.js b/server.js index c71e269..ce72e2b 100644 --- a/server.js +++ b/server.js @@ -86,7 +86,7 @@ router.post("/clear-all-sms", (req, res) => { }); // GET /balance - get account balance (SMSC API compatible) -router.get("/balance.php", (req, res) => { +router.get("/balance", (req, res) => { const { login, psw } = req.query; if (!login || !psw) {