badmfck-api-server 2.0.9 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -83,7 +83,7 @@ async function Initializer(services) {
|
|
83
83
|
exports.Initializer = Initializer;
|
84
84
|
class APIService extends BaseService_1.BaseService {
|
85
85
|
static nextLogID = 0;
|
86
|
-
version = "2.0
|
86
|
+
version = "2.1.0";
|
87
87
|
options;
|
88
88
|
monitor;
|
89
89
|
monitorIndexFile;
|
@@ -133,7 +133,9 @@ class APIService extends BaseService_1.BaseService {
|
|
133
133
|
if (!i || !i.endpoints)
|
134
134
|
continue;
|
135
135
|
for (let j of i.endpoints) {
|
136
|
-
|
136
|
+
let ep = BaseEndpoint_1.BaseEndpoint.getEntryPoint() + j.endpoint;
|
137
|
+
ep = ep.replaceAll("//", "/");
|
138
|
+
if (ep === req.endpoint) {
|
137
139
|
return await i.execute(req);
|
138
140
|
}
|
139
141
|
}
|