diff options
author | Eric Wong <e@yhbt.net> | 2020-02-01 09:12:13 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-02-01 21:09:54 +0000 |
commit | 1234e3e4d384bd92b073fa1e3549aa916113c3fa (patch) | |
tree | 7ebaf0b26ccbe1ec0a3cca1a97e6202eb8cc77f4 | |
parent | 75a15dbb79d4e508fc868e82cb074776830b80d6 (diff) | |
download | public-inbox-1234e3e4d384bd92b073fa1e3549aa916113c3fa.tar.gz |
inbox.$NAME.url is a common parameter and set by public-inbox-init(1), so ensure we have lines for it and emphasize it can be multi-value for .onion hidden services or otherwise mirrored and available under multiple URLs.
-rw-r--r-- | lib/PublicInbox/WwwText.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm index ace7f9d7..fbbe8e3b 100644 --- a/lib/PublicInbox/WwwText.pm +++ b/lib/PublicInbox/WwwText.pm @@ -147,6 +147,8 @@ sub inbox_config ($$$) { ; note: public-inbox before v1.2.0 used "mainrepo" ; instead of "inboxdir", both remain supported after 1.2 mainrepo = /path/to/top-level-inbox + url = https://example.com/$name/ + url = http://example.onion/$name/ EOS for my $k (qw(address listid infourl)) { defined(my $v = $ibx->{$k}) or next; |