Skip to content

Commit

Permalink
Fix #419
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Jul 26, 2024
1 parent 706fe3f commit 6c45929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Removed
### Fixed
- Insert new release into settings.conf before restarting services. #411
- Custom web_port setting was not used. #419
- Cellular modem: nmcli connection was not updated after a switch to public ip address.
### Security

Expand Down
4 changes: 2 additions & 2 deletions web_app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,8 +986,8 @@ def arg_parse():
app.secret_key = rtkbaseconfig.get_secret_key()
#socketio.run(app, host = "::", port = args.port or rtkbaseconfig.get("general", "web_port", fallback=80), debug=args.debug) # IPv6 "::" is mapped to IPv4
gunicorn_options = {
'bind': ['%s:%s' % ('0.0.0.0', args.port or rtkbaseconfig.get("main", "web_port", fallback=80)),
'%s:%s' % ('[::1]', args.port or rtkbaseconfig.get("main", "web_port", fallback=80)) ],
'bind': ['%s:%s' % ('0.0.0.0', args.port or rtkbaseconfig.get("general", "web_port", fallback=80)),
'%s:%s' % ('[::1]', args.port or rtkbaseconfig.get("general", "web_port", fallback=80)) ],
'workers': 1,
'worker_class': 'gevent',
'graceful_timeout': 10,
Expand Down

0 comments on commit 6c45929

Please sign in to comment.