Skip to content

Commit 2b5fd21

Browse files
authored
Merge pull request #22 from lochel/host
Fix host in info message
2 parents af4da0c + 7c37edc commit 2b5fd21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ dist
33
venv
44
.vscode
55
*egg-info*
6-
build
6+
build
7+
__pycache__

pyxtermjs/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def main():
135135
stream=sys.stdout,
136136
level=logging.DEBUG if args.debug else logging.INFO,
137137
)
138-
logging.info(f"serving on http://127.0.0.1:{args.port}")
138+
logging.info(f"serving on http://{args.host}:{args.port}")
139139
socketio.run(app, debug=args.debug, port=args.port, host=args.host)
140140

141141

0 commit comments

Comments
 (0)