chore: server listen to 0.0.0.0

This commit is contained in:
Methapon2001 2023-11-22 16:12:03 +07:00
parent e58e4db933
commit f3078c47ea
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -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}`),
);