Update .env.example and README.md to clarify JWT_SECRET requirements; enhance telemt API route handling to preserve query parameters; adjust TypeScript configuration to exclude specific directories; improve data grid components with new features and optimizations.
Build and Push Telemt Panel Docker Image / build-and-push (push) Successful in 3m58s
Build and Push Telemt Panel Docker Image / create-release (push) Skipped

This commit is contained in:
Denozordec
2026-08-04 19:22:26 +07:00
parent 9bebc9e92d
commit d35fa5a285
65 changed files with 6735 additions and 1027 deletions
+6 -2
View File
@@ -9,7 +9,9 @@ import { sha256, randomBytes } from './auth.js'
export async function telemtRoutes(app: FastifyInstance) {
app.all('/api/telemt/*', { preHandler: requireAuth }, async (request, reply) => {
const suffix = (request.params as { '*': string })['*']
const path = `/v1/${suffix}`
const qsIndex = request.url.indexOf('?')
const query = qsIndex >= 0 ? request.url.slice(qsIndex) : ''
const path = `/v1/${suffix}${query}`
const method = request.method.toUpperCase()
if (app.config.panelMode === 'standalone') {
@@ -96,7 +98,9 @@ export async function fleetRoutes(app: FastifyInstance) {
app.all('/api/servers/:id/telemt/*', { preHandler: requireAuth }, async (request, reply) => {
const { id } = request.params as { id: string }
const suffix = (request.params as { id: string; '*': string })['*']
const path = `/v1/${suffix}`
const qsIndex = request.url.indexOf('?')
const query = qsIndex >= 0 ? request.url.slice(qsIndex) : ''
const path = `/v1/${suffix}${query}`
const method = request.method.toUpperCase()
if (app.config.panelMode === 'standalone' || id === 'local') {