Skip to content

Commit

Permalink
fix: don't replace '.' for search-index when using resource-channel-a…
Browse files Browse the repository at this point in the history
…nchor (#37)
  • Loading branch information
sitepark-veltrup authored Oct 7, 2024
1 parent fd2c8e9 commit 5651e14
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/SiteKitResourceChannelFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ public function create(): ResourceChannel

$data = $this->loadContextPhpFile();

$searchIndex = str_replace(
'.',
'-',
$data['publisher']['anchor'],
);
$searchIndex = $data['publisher']['anchor'];

return new ResourceChannel(
(string) $data['publisher']['id'],
$data['publisher']['name'],
Expand Down

0 comments on commit 5651e14

Please sign in to comment.