feat(auth): refine demo mode support using SHUMAI_DEMO_MODE API

This commit is contained in:
yiling
2026-06-19 00:36:23 +08:00
parent 5c285b172b
commit 53c132e41d
9 changed files with 16 additions and 17 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ const route = app
.get('/signup-info', async (c) => {
const info = await teamService.getSignupInfo()
return c.json({
userCount: info.userCount,
initialized: info.initialized,
demoMode: info.demoMode,
})
})
.get('/me', async (c) => {