]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/ExtSearch.pm
www: avoid incorrect instructions for extindex
[public-inbox.git] / lib / PublicInbox / ExtSearch.pm
index 8ba4d396a444473134916d5f137d899945ec4f6a..bd301158a6b0a4163cb58073384bf034a5238dda 100644 (file)
@@ -19,6 +19,7 @@ sub new {
        my ($class, $topdir) = @_;
        bless {
                topdir => $topdir,
+               -primary_address => 'unknown@example.com',
                # xpfx => 'ei15'
                xpfx => "$topdir/ei".PublicInbox::Search::SCHEMA_VERSION
        }, $class;
@@ -105,12 +106,8 @@ sub description {
                '$EXTINDEX_DIR/description missing';
 }
 
-sub cloneurl { [] } # TODO
-
-sub base_url { 'https://example.com/TODO/' }
-sub nntp_url { [] }
-
 no warnings 'once';
+*base_url = \&PublicInbox::Inbox::base_url;
 *smsg_eml = \&PublicInbox::Inbox::smsg_eml;
 *smsg_by_mid = \&PublicInbox::Inbox::smsg_by_mid;
 *msg_by_mid = \&PublicInbox::Inbox::msg_by_mid;