I encountered an issue when using the search feature on Hydejack hosted in a subdirectory. The link uses relativeUrl but the rest of the clickable area does not. This leads to 404s when clicking on the empty areas because baseUrl is not added.
I fixed it by using relativeUrl on item.url on lines 104 and 106 of search.js.
For people digging through the minified version search-hydejack-9.1.6.js, this corresponds to changing e.url to y(e.url) on column 1907 (before return Object(u.f)) and 2577 (inside t.call(i,).
Would appreciate if you're able to release an updated version because I don't know how to use the source code.
I encountered an issue when using the search feature on Hydejack hosted in a subdirectory. The link uses
relativeUrl
but the rest of the clickable area does not. This leads to 404s when clicking on the empty areas becausebaseUrl
is not added.I fixed it by using
relativeUrl
onitem.url
on lines 104 and 106 ofsearch.js
.For people digging through the minified version
search-hydejack-9.1.6.js
, this corresponds to changinge.url
toy(e.url)
on column 1907 (beforereturn Object(u.f)
) and 2577 (insidet.call(i,
).Would appreciate if you're able to release an updated version because I don't know how to use the source code.