diff options
author | Eric Wong <e@80x24.org> | 2020-12-21 22:10:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-12-22 03:36:56 +0000 |
commit | 2adbbf87748719b422ba08d674ccb35637cb76b5 (patch) | |
tree | 2da09ffa5f592b84a3ec625e45853c0e9f6ef8b9 /lib/PublicInbox/WwwStream.pm | |
parent | c13272432ad28adb506faf6fb9121569cf5ec710 (diff) | |
download | public-inbox-2adbbf87748719b422ba08d674ccb35637cb76b5.tar.gz |
public-inbox.org will expire in a few years, so ensure Tor .onions can be known before then.
Diffstat (limited to 'lib/PublicInbox/WwwStream.pm')
-rw-r--r-- | lib/PublicInbox/WwwStream.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/WwwStream.pm b/lib/PublicInbox/WwwStream.pm index 49940262..9ba8fa11 100644 --- a/lib/PublicInbox/WwwStream.pm +++ b/lib/PublicInbox/WwwStream.pm @@ -12,7 +12,8 @@ our @EXPORT_OK = qw(html_oneshot); use bytes (); # length use PublicInbox::Hval qw(ascii_html prurl ts2str); our $TOR_URL = 'https://www.torproject.org/'; -our $CODE_URL = 'https://public-inbox.org/public-inbox.git'; +our $CODE_URL = [ qw(http://ou63pmih66umazou.onion/public-inbox.git + https://public-inbox.org/public-inbox.git) ]; sub base_url ($) { my $ctx = shift; |