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);