From f6ee47309892164f159737e4bfdebdb765521881 Mon Sep 17 00:00:00 2001 From: Stevenma <3296308883@qq.com> Date: Sun, 10 May 2026 15:46:17 +0800 Subject: [PATCH] simplify /api/version to single field --- src/index.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/index.ts b/src/index.ts index 6004840..e75f232 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,15 +64,7 @@ app.get('/api/activity/ping', (req, res) => { // 版本/健康检查 (用于验证部署) app.get('/api/version', (req, res) => { - res.json({ - success: true, - name: 'maqt-backend', - version: '1.1.0', - buildTime: new Date().toISOString(), - commit: 'e249aa5', - env: process.env.NODE_ENV || 'development', - uptime: process.uptime(), - }); + res.json({ version: 'd823421' }); }); app.use('/api', authRoutes);