From 3459a5828f518d6c8cc0275166c43b709bb36d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Cadenas?= Date: Tue, 2 May 2023 00:53:01 +0200 Subject: [PATCH] Update index.ts --- restapi/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restapi/index.ts b/restapi/index.ts index e42fd38..52b9dbb 100644 --- a/restapi/index.ts +++ b/restapi/index.ts @@ -60,8 +60,8 @@ app.use("/solid", solid); app.use("/users", users); app.use("/landmarks",landmarks ); -app.listen(process.env.API_PORT, ():void => { - console.log('Restapi listening on '+ process.env.API_PORT); +app.listen(8800, ():void => { + console.log('Restapi listening on 8800'); }).on("error",(error:Error)=>{ console.error('Error occured: ' + error.message); });