mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
feat: expose value of LOG_SENSITIVE_INFO through status API
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user