]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Inbox.pm
No ext_urls
[public-inbox.git] / lib / PublicInbox / Inbox.pm
index 3532bb584236d4d466d12c234e338867699b5936..cb98d2ad5e29cbc017ddf65df293e9bbe1546d9f 100644 (file)
@@ -205,7 +205,8 @@ sub base_url {
                $url .= '/' if $url !~ m!/\z!;
                return $url .= $self->{name} . '/';
        }
-       # called from a non-PSGI environment (e.g. NNTP/POP3):
+       # called from a non-PSGI environment or cross-inbox environment
+       # where multiple inboxes can have different domains
        my $url = $self->{url} // return undef;
        $url = $url->[0] // return undef;
        # expand protocol-relative URLs to HTTPS if we're