Update dream.py

In the case of this "point", the Warp Terminal cannot be clicked directly to trigger the browser to open, and Chrome is a blank page. It should open properly once you remove it
This commit is contained in:
H4rk 2022-09-25 18:04:56 +08:00 committed by GitHub
parent 803a51d5ad
commit af8d73a8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,7 +358,7 @@ def dream_server_loop(t2i, host, port, outdir):
f"Point your browser at http://localhost:{port} or use the host's DNS name or IP address.")
else:
print(">> Default host address now 127.0.0.1 (localhost). Use --host 0.0.0.0 to bind any address.")
print(f">> Point your browser at http://{host}:{port}.")
print(f">> Point your browser at http://{host}:{port}")
try:
dream_server.serve_forever()