Skip to content

Commit bfa29a2

Browse files
blueochrispenny
authored andcommitted
Fix documentation link for Silverstripe Search
1 parent 4296fa1 commit bfa29a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Service/BifrostService.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace SilverStripe\ForagerBifrost\Service;
44

5+
use SilverStripe\Control\Controller;
6+
use SilverStripe\Core\Environment;
57
use SilverStripe\Forager\Exception\IndexConfigurationException;
68
use SilverStripe\ForagerElasticEnterprise\Service\EnterpriseSearchService;
79

@@ -20,7 +22,7 @@ public function getExternalURLDescription(): ?string
2022

2123
public function getDocumentationURL(): ?string
2224
{
23-
return sprintf('%s/api/v1/docs', $this->getExternalURL());
25+
return Controller::join_links(Environment::getEnv('BIFROST_ENDPOINT'), '/resources/guides/index.html');
2426
}
2527

2628
/**

0 commit comments

Comments
 (0)