UNPKG

lesgo

Version:

Core framework for lesgo node.js serverless framework.

9 lines (8 loc) 246 B
const basicAuthList = process.env.LESGO_BASIC_AUTH_LIST || ''; const authorizedList = basicAuthList.split(',').map(key => { const [username, password] = key.split(':'); return { username, password }; }); export default { authorizedList, };