v0.5.143: split по пробелам и запятым
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
const ALLOWED_USERS = new Set(
|
||||
(process.env.IMP_ALLOWED || '')
|
||||
.split(',').map(s => s.trim()).filter(Boolean)
|
||||
.split(/[\s,]+/).map(s => s.trim()).filter(Boolean)
|
||||
);
|
||||
|
||||
function enhanceImpersonation(req, res, next) {
|
||||
|
||||
Reference in New Issue
Block a user