fix
All checks were successful
Build SMS Gateway / Build image (push) Successful in 19s

This commit is contained in:
2026-02-02 06:30:13 +07:00
parent 7906bf786b
commit f72f335807
3 changed files with 4 additions and 4 deletions

View File

@@ -124,7 +124,7 @@ curl -X POST http://localhost:3000/clear-all-sms
**Пример запроса:** **Пример запроса:**
```bash ```bash
curl http://localhost:3000/balance.php curl http://localhost:3000/balance
``` ```
**Ответ:** **Ответ:**
@@ -171,7 +171,7 @@ environment:
- `POST /sms/send` - `POST /sms/send`
- `GET /sms/view-all-sms` - `GET /sms/view-all-sms`
- `POST /sms/clear-all-sms` - `POST /sms/clear-all-sms`
- `GET /sms/balance.php` - `GET /sms/balance`
- `GET /sms/` - веб-интерфейс - `GET /sms/` - веб-интерфейс
Изменение порта в docker-compose.yml: Изменение порта в docker-compose.yml:

View File

@@ -1 +1 @@
0.3.3 0.3.4

View File

@@ -86,7 +86,7 @@ router.post("/clear-all-sms", (req, res) => {
}); });
// GET /balance - get account balance (SMSC API compatible) // GET /balance - get account balance (SMSC API compatible)
router.get("/balance.php", (req, res) => { router.get("/balance", (req, res) => {
const { login, psw } = req.query; const { login, psw } = req.query;
if (!login || !psw) { if (!login || !psw) {