* whitelist for username based endpoints * added gist whitelist * review * fix --------- Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
const whitelist = process.env.WHITELIST
|
|
? process.env.WHITELIST.split(",")
|
|
: undefined;
|
|
|
|
const gistWhitelist = process.env.GIST_WHITELIST
|
|
? process.env.GIST_WHITELIST.split(",")
|
|
: undefined;
|
|
|
|
export { whitelist, gistWhitelist };
|
|
export default whitelist;
|