Skip to content

Commit aa0443f

Browse files
committed
feat: serverTzOffset
1 parent 3446714 commit aa0443f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

routes/apiRoutes.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,12 @@ router.get('/pageConfig', (req, res) => {
366366
WEB_AI_SUMMARY: parseBoolean(process.env.AI_SUMMARY_ENABLED, true)
367367
};
368368

369+
const tzOffset = parseInt(process.env.DEFAULT_TIMEZONE_OFFSET ?? '8')
370+
369371
res.json({
370372
success: true,
371-
config
373+
config,
374+
tzOffset
372375
});
373376
} catch (error) {
374377
console.error('获取页面配置错误:', error);

0 commit comments

Comments
 (0)