remult 0.23.0-exp.22 → 0.23.0-exp.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -925,7 +925,7 @@ export class RouteImplementation {
|
|
|
925
925
|
}
|
|
926
926
|
let idPosition = path.lastIndexOf('/');
|
|
927
927
|
if (idPosition >= 0) {
|
|
928
|
-
lowerPath =
|
|
928
|
+
lowerPath = lowerPath.substring(0, idPosition) + '/:id';
|
|
929
929
|
m = this.map.get(lowerPath);
|
|
930
930
|
if (m) {
|
|
931
931
|
let h = m.get(req.method.toLowerCase());
|
package/package.json
CHANGED
package/server/expressBridge.js
CHANGED
|
@@ -1340,7 +1340,7 @@ var RouteImplementation = /** @class */ (function () {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
var idPosition = path.lastIndexOf('/');
|
|
1342
1342
|
if (idPosition >= 0) {
|
|
1343
|
-
lowerPath =
|
|
1343
|
+
lowerPath = lowerPath.substring(0, idPosition) + '/:id';
|
|
1344
1344
|
m = this.map.get(lowerPath);
|
|
1345
1345
|
if (m) {
|
|
1346
1346
|
var h = m.get(req.method.toLowerCase());
|