Added version to env vars, added local hostname to env vars and a bug fix.
This commit is contained in:
parent
b114befaff
commit
2dbc971275
3 changed files with 9 additions and 3 deletions
|
|
@ -40,7 +40,8 @@ class HTTPServer:
|
|||
|
||||
@cherrypy.expose
|
||||
def config(self):
|
||||
return '<!DOCTYPE html><html><head><title>[uplink] configuration</title><meta ' + \
|
||||
return '<!DOCTYPE html><html><head><title>[uplink@' + \
|
||||
self.__configuration.get_env_var("_hostname") + '] configuration</title><meta ' + \
|
||||
'http-equiv="refresh" content="60"></head><body><pre ' + \
|
||||
'style="border:2px solid black;background:#1d2021;color:#f0751a;">' + \
|
||||
json.dumps(vars(self.__configuration), sort_keys=True, indent=4) + \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue