fix(search): searchDataURL must not use relative URL
This commit is contained in:
parent
d5b75f4fb3
commit
0f50648e48
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
{{ $searchConfig := i18n "bookSearchConfig" | default "{}" }}
|
{{ $searchConfig := i18n "bookSearchConfig" | default "{}" }}
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
const searchDataURL = '{{ $searchData.RelPermalink }}';
|
const searchDataURL = '{{ $searchData.Permalink }}';
|
||||||
const indexConfig = Object.assign({{ $searchConfig }}, {
|
const indexConfig = Object.assign({{ $searchConfig }}, {
|
||||||
doc: {
|
doc: {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
|
|
Loading…
Reference in a new issue