Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions denyhosts_server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ def start_listening():

# /static
stats_root.putChild('static', web_static)
# /static/graphs
web_static.putChild('graphs', web_graphs)
# /static/graph
web_static.putChild('graph', web_graphs)

logging.info("Start listening on port {}".format(config.xmlrpc_listen_port))
_xmlrpc_site = server.Site(xmlrpc_root)
Expand Down
2 changes: 1 addition & 1 deletion denyhosts_server/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def update_stats_cache():
stats["has_hostnames"] = config.stats_resolve_hostnames
# Note paths configured in main.py by the Resource objects
stats["static_base"] = "../static"
stats["graph_base"] = "../static/graphs"
stats["graph_base"] = "../static/graph"
stats["server_version"] = __init__.version
try:
#rows = yield database.run_query("SELECT num_hosts,num_reports, num_clients, new_hosts FROM stats ORDER BY time DESC LIMIT 1")
Expand Down