UNPKG

@opengis/fastify-table

Version:

core-plugins

8 lines (4 loc) 280 B
import fs from 'node:fs'; const redactionList = ['clientSecret', 'clientId', 'password']; const customRedactionList = fs.existsSync('redactionList.json') ? JSON.parse(fs.readFileSync('redactionList.json')) : []; export default redactionList.concat(customRedactionList);