Add current fileserver port to stats page

This commit is contained in:
shortcutme 2018-04-03 14:40:29 +02:00
parent a69f898e12
commit c2176ba27d
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -68,6 +68,7 @@ class UiRequestPlugin(object):
try:
yield "rev%s | " % config.rev
yield "%s | " % config.ip_external
yield "Port: %s | " % main.file_server.port
yield "Opened: %s | " % main.file_server.port_opened
yield "Crypt: %s | " % CryptConnection.manager.crypt_supported
yield "In: %.2fMB, Out: %.2fMB | " % (