Skip to content

Commit 5def084

Browse files
committed
Merge branch 'master' of github.com:hydephp/develop
2 parents 5eb83ad + fc5cdc1 commit 5def084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/resources/views/components/docs/search-scripts.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/HydeSearch.min.js" defer></script>
22
<script>
33
window.addEventListener('load', function () {
4-
const searchIndexLocation = '{{ Hyde::relativeLink(DocumentationPage::outputDirectory().'/search.json') }}';
4+
const searchIndexLocation = '{{ Hyde::relativeLink(ltrim(DocumentationPage::outputDirectory().'/search.json', '/')) }}';
55
const Search = new HydeSearch(searchIndexLocation);
66
77
Search.init();

0 commit comments

Comments
 (0)