[tor-commits] [flashproxy/master] Use FRONT_DOMAIN constant.
dcf at torproject.org
dcf at torproject.org
Mon May 20 19:43:38 UTC 2013
commit 32e81d4e3deca9282bd9b14ef6c63081865855eb
Author: Arlo Breault <arlolra at gmail.com>
Date: Sun May 19 09:44:04 2013 -0700
Use FRONT_DOMAIN constant.
---
flashproxy-reg-appspot | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flashproxy-reg-appspot b/flashproxy-reg-appspot
index 99ca9aa..be2fbff 100755
--- a/flashproxy-reg-appspot
+++ b/flashproxy-reg-appspot
@@ -158,7 +158,7 @@ def generate_url(addr):
# Maybe the script was read from stdin; in any case don't guess at the directory.
raise ValueError("Can't find executable directory for registration helpers")
command = [os.path.join(script_dir, FLASHPROXY_REG_URL)]
- command += ["-f", urlparse.urlunparse(("https", "www.google.com", "/", "", "", ""))]
+ command += ["-f", urlparse.urlunparse(("https", FRONT_DOMAIN, "/", "", "", ""))]
if options.facilitator_pubkey_filename is not None:
command += ["--facilitator-pubkey", options.facilitator_pubkey_filename]
command.append(format_addr(addr))
More information about the tor-commits
mailing list