From b2fdd91d380707e13cf77dd7e40272794ce0c016 Mon Sep 17 00:00:00 2001 From: UO264802 <71766858+UO264802@users.noreply.github.com> Date: Thu, 5 May 2022 02:40:51 +0200 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20/api=20en=20server.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restapi/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restapi/server.ts b/restapi/server.ts index 2e2f478..b76c31e 100644 --- a/restapi/server.ts +++ b/restapi/server.ts @@ -24,9 +24,9 @@ app.use(bp.json()); app.use(express.json()); app.use("/api", api) -app.use("/products",apiProducts) +app.use("/api/products",apiProducts) //app.use("/orders",apiOrders) -app.use("/payments",apiPays) +app.use("/api/payments",apiPays) app.listen(port, ():void => { console.log('Restapi listening on '+ port);