diff --git a/.gitignore b/.gitignore index 03427a2..4167627 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,7 @@ next-env.d.ts /media /src/generated/prisma -/RMAB \ No newline at end of file +/RMAB +/cache +/redis +/pgdata \ No newline at end of file diff --git a/src/app/api/admin/settings/route.ts b/src/app/api/admin/settings/route.ts index b7080c5..666ef55 100644 --- a/src/app/api/admin/settings/route.ts +++ b/src/app/api/admin/settings/route.ts @@ -17,7 +17,7 @@ export async function GET(request: NextRequest) { // Mask sensitive values const maskValue = (key: string, value: string | null | undefined) => { - const sensitiveKeys = ['token', 'api_key', 'password']; + const sensitiveKeys = ['token', 'api_key', 'password', 'secret']; if (value && sensitiveKeys.some((k) => key.includes(k))) { return '••••••••••••'; }