mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
bind to external
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ async function bootstrap() {
|
|||||||
);
|
);
|
||||||
app.enableCors();
|
app.enableCors();
|
||||||
|
|
||||||
await app.listen(process.env.PORT);
|
await app.listen(process.env.PORT, '0.0.0.0');
|
||||||
console.log(`http listening on port ${process.env.PORT}`)
|
console.log(`http listening on port ${process.env.PORT}`)
|
||||||
}
|
}
|
||||||
bootstrap();
|
bootstrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user