Dashboard URL
dashboardUrl
The initial value of dashboardUrl
is empty string -''
. This options defines from where the search items assets URL will be fetched.
By default The dashboardUrl
value comes from Hawksearch config
Options
set value for
test
environment:const config = { ... dashboardUrl: "https://test.hawksearch.net/", ... }; var widget = HawksearchVue.createWidget(component, { config: config}); HawksearchVue.initialSearch(widget);
Â
set value for
dev
environment:const hawkConfig = { ... dashboardUrl: "https://dev.hawksearch.net/", ... }; var widget = HawksearchVue.createWidget(component, { config: hawkConfig }); HawksearchVue.initialSearch(widget);
Â
set value for
prod
environment:const hawkConfig = { ... dashboardUrl: "https://prod.hawksearch.net/", ... }; var widget = HawksearchVue.createWidget(component, { config: hawkConfig }); HawksearchVue.initialSearch(widget);
Usage
Check this page for more information about the Dashboard API: