From c4796e17d1a5d7efcd861ac90550e7f20cb97eb7 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Wed, 21 Aug 2013 20:23:47 -0400 Subject: [PATCH] some touchups to 2664f794 --- p2pool/main.py | 2 +- web-static/graphs.html | 2 +- web-static/share.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/p2pool/main.py b/p2pool/main.py index b03eee7..7e923d9 100644 --- a/p2pool/main.py +++ b/p2pool/main.py @@ -209,7 +209,7 @@ def main(args, net, datadir_path, merged_urls, worker_endpoint): wb = work.WorkerBridge(node, my_pubkey_hash, args.donation_percentage, merged_urls, args.worker_fee) web_root = web.get_web_root(wb, datadir_path, bitcoind_warning_var) caching_wb = worker_interface.CachingWorkerBridge(wb) - worker_interface.WorkerInterface(caching_wb).attach_to(web_root, get_handler=lambda request: request.redirect('./static/')) + worker_interface.WorkerInterface(caching_wb).attach_to(web_root, get_handler=lambda request: request.redirect('static/')) web_serverfactory = server.Site(web_root) diff --git a/web-static/graphs.html b/web-static/graphs.html index a73cffc..7579dc8 100644 --- a/web-static/graphs.html +++ b/web-static/graphs.html @@ -26,7 +26,7 @@ -

P2Pool > Graphs

+

P2Pool > Graphs

Periods: Current:

diff --git a/web-static/share.html b/web-static/share.html index 620a3b3..514f57a 100644 --- a/web-static/share.html +++ b/web-static/share.html @@ -29,7 +29,7 @@ var b = d3.select('body'); b.selectAll('*').remove(); var h1 = b.append('h1'); - h1.append('a').attr('href', '../static/').text('P2Pool'); + h1.append('a').attr('href', '.').text('P2Pool'); h1.append('span').text(' > Share '); h1.append('a').attr('href', '#' + share_hash).text(share_hash.substr(-8)); if(share == null) { -- 1.7.1