Skip to content

Commit

Permalink
use exactly 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Apr 24, 2024
1 parent 0c94e19 commit 098f7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baby_dbg.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@ def response_done_handler(request, response) -> None:
if len(sys.argv) == 2: # production
import fastwsgi
port = int(sys.argv[1])
fastwsgi.run(app, '127.1', port)
fastwsgi.run(app, '127.0.0.1', port)
else: # dev
app.main()

0 comments on commit 098f7a8

Please sign in to comment.