...
The wbesiteUrl
default value is location.origin
. This option helps HawksearchVue to get the absolute URL of the page.
Code Block |
---|
const hawkConfigconfig = { ... wbesiteUrl: location.origin ... }; var widget = HawksearchVue.createWidget(component, { config: hawkConfigconfig }); HawksearchVue.initialSearch(widget); |
...