v0.5.143: split по пробелам и запятым

This commit is contained in:
2026-06-16 06:09:33 +04:00
parent 8f9fc4e3ee
commit df0dd73451
+1 -1
View File
@@ -16,7 +16,7 @@
const ALLOWED_USERS = new Set( const ALLOWED_USERS = new Set(
(process.env.IMP_ALLOWED || '') (process.env.IMP_ALLOWED || '')
.split(',').map(s => s.trim()).filter(Boolean) .split(/[\s,]+/).map(s => s.trim()).filter(Boolean)
); );
function enhanceImpersonation(req, res, next) { function enhanceImpersonation(req, res, next) {