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