diff --git a/src/api/debug.js b/src/api/debug.js index 1adff08..7aa69b7 100644 --- a/src/api/debug.js +++ b/src/api/debug.js @@ -38,7 +38,7 @@ async function handleDebug(request, env) {
配置存在: ${debugInfo.configExists ? '✓' : '✗'}
-管理员用户名: ${debugInfo.adminUsername}
+管理员用户名: ${String(debugInfo.adminUsername || '').replace(//g, '>')}
JWT密钥: ${debugInfo.hasJwtSecret ? '✓' : '✗'} (长度: ${debugInfo.jwtSecretLength})