badmfck-api-server 1.2.9 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ class BaseEndpoint {
|
|
50
50
|
async execute(req) {
|
51
51
|
if (this.endpoints && this.endpoints.length > 0) {
|
52
52
|
for (let i of this.endpoints) {
|
53
|
-
if (i.endpoint === req.endpoint)
|
53
|
+
if (BaseEndpoint.entrypoint + i.endpoint === req.endpoint)
|
54
54
|
return i.handler(req);
|
55
55
|
}
|
56
56
|
}
|