From f3078c47ea6d71bf8ad29849f191373cd9a28a2a Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:12:03 +0700 Subject: [PATCH] chore: server listen to 0.0.0.0 --- Prototype/server/src/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Prototype/server/src/app.ts b/Prototype/server/src/app.ts index ac593ed..efefe83 100644 --- a/Prototype/server/src/app.ts +++ b/Prototype/server/src/app.ts @@ -25,4 +25,6 @@ RegisterRoutes(router); app.use(swaggerSpecs.basePath, router); app.use(errorHandler); -app.listen(PORT, () => console.log(`Application is running on http://localhost:${PORT}`)); +app.listen(PORT, "0.0.0.0", () => + console.log(`Application is running on http://localhost:${PORT}`), +);