Listen on 0.0.0.0 to allow network access from other machines

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ondrej Trochta
2026-03-24 01:43:13 +01:00
parent 3d84aabd40
commit 1b05ec4121
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
{
"name": "pm-cli",
"name": "docmaster",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "pm-cli",
"name": "docmaster",
"version": "1.0.0",
"dependencies": {
"chalk": "^5.3.0",
+2 -2
View File
@@ -73,6 +73,6 @@ function readBody(req: http.IncomingMessage): Promise<string> {
});
}
server.listen(PORT, () => {
console.log(`DocMaster running at http://localhost:${PORT}`);
server.listen(PORT, "0.0.0.0", () => {
console.log(`DocMaster running at http://0.0.0.0:${PORT}`);
});