Skip to content

Commit

Permalink
chore(site): fix wrong regex (#3930)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Jan 3, 2022
1 parent 67d61e2 commit a52bdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/_layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const Hits = ({ searchResults }) => {
},
},
}
const slug = highlightedHit.url.replace(/https:\/\/cli.netlify.com/, '')
const slug = highlightedHit.url.replace('https://cli.netlify.com', '')
return (
<HitsOverlay key={index}>
<a href={slug}>
Expand Down

1 comment on commit a52bdb5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 359 MB

Please sign in to comment.