feat: expose value of LOG_SENSITIVE_INFO through status API

This commit is contained in:
Viren070
2025-07-02 15:28:58 +01:00
parent 735a326aa4
commit e8183aa725
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -819,6 +819,7 @@ const StatusResponseSchema = z.object({
customHtml: z.string().optional(),
protected: z.boolean(),
regexFilterAccess: z.enum(['none', 'trusted', 'all']),
loggingSensitiveInfo: z.boolean(),
tmdbApiAvailable: z.boolean(),
forced: z.object({
proxy: z.object({
+1
View File
@@ -27,6 +27,7 @@ router.get('/', async (req: Request, res: Response) => {
protected: !!Env.ADDON_PASSWORD,
tmdbApiAvailable: !!Env.TMDB_ACCESS_TOKEN,
regexFilterAccess: Env.REGEX_FILTER_ACCESS,
loggingSensitiveInfo: Env.LOG_SENSITIVE_INFO,
forced: {
proxy: {
enabled: Env.FORCE_PROXY_ENABLED ?? null,