security: 隐藏 MongoDB 连接串与库名,health 不再返回 uri/db 并对错误脱敏
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ export interface ClientsResponse {
|
||||
export interface HealthResponse {
|
||||
ok: boolean
|
||||
time: string
|
||||
mongo: { ok: boolean; uri: string; db: string; error: string | null }
|
||||
mongo: { ok: boolean; error: string | null }
|
||||
webTorrent: boolean
|
||||
providers: { id: string; label: string; homepage: string }[]
|
||||
enabledProviders: string[]
|
||||
|
||||
Reference in New Issue
Block a user