pwi-plata-type 0.3.2 → 0.3.3
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.
- package/libs/routes.ts +1 -1
- package/package.json +1 -1
package/libs/routes.ts
CHANGED
|
@@ -250,7 +250,7 @@ export async function buildExpressRouter(): Promise<Router> {
|
|
|
250
250
|
const prr = pr._routes[i];
|
|
251
251
|
|
|
252
252
|
if (prr.path === undefined) {
|
|
253
|
-
(router as any)[prr.method](...prr.handlers.map(PlataRoute))
|
|
253
|
+
(router as any)[prr.method](r.httpRoute, ...prr.handlers.map(PlataRoute))
|
|
254
254
|
} else {
|
|
255
255
|
(router as any)[prr.method](
|
|
256
256
|
path.normalize(`${r.httpRoute}/${prr.path}`).replace(/\\/g, '/'),
|