diff --git a/site/src/_layout.js b/site/src/_layout.js index 7406338ec64..ed8afe79b15 100644 --- a/site/src/_layout.js +++ b/site/src/_layout.js @@ -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 (