diff --git a/denyhosts_server/main.py b/denyhosts_server/main.py index a1d5d4d..11ad566 100644 --- a/denyhosts_server/main.py +++ b/denyhosts_server/main.py @@ -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) diff --git a/denyhosts_server/stats.py b/denyhosts_server/stats.py index 29d663b..47bdbd8 100755 --- a/denyhosts_server/stats.py +++ b/denyhosts_server/stats.py @@ -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")