refactor: rename server-configs.json to servers.json and update related references
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m22s

This commit is contained in:
2026-01-20 15:35:48 +07:00
parent b6c314507d
commit f2e237840b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const { createJsonDataRoutes } = require('./jsonDataRoutes');
const { getS3TextWithHeaders, getS3JsonWithHeaders } = require('../utils/s3Helpers');
// GET /api/server-configs (список серверов)
const serverConfigsListRoutes = createJsonDataRoutes('server-configs.json', (server, i) => {
const serverConfigsListRoutes = createJsonDataRoutes('servers.json', (server, i) => {
if (!server.id || !server.name) {
return `Server at index ${i} is missing required fields`;
}
+2 -2
View File
@@ -15,12 +15,12 @@ s3/
│ ├── simple-filters.json # Фильтры упрощённого режима
│ ├── server-filters-*.json # Фильтры для каждого сервера
│ └── config-*.txt # Сгенерированные конфигурации MikroTik
└── server-configs.json # Список серверов (в корне S3)
└── servers.json # Список серверов (в корне S3)
```
## Описание файлов
### `server-configs.json`
### `servers.json`
Список всех серверов в расширенном режиме.
```json
[
@@ -34,4 +34,4 @@
"enabled": true,
"createdAt": "2024-01-19T11:30:00.000Z"
}
]
]