GEOLYTIX/xyz

zero env config fails in acl module.

Closed this issue · 0 comments

Without PRIVATE or PUBLIC env the connection will be undefined and fail to look for the first array entry.

const connection = process.env.PRIVATE?.split('|') || process.env.PUBLIC?.split('|')

const acl_table = connection[1]?.split('.').pop()