Skip to content

Commit

Permalink
Merge pull request #887 from LoginRadius/ch_fixdocloading
Browse files Browse the repository at this point in the history
fixedAlgolia
  • Loading branch information
rajeevsharma34 authored Nov 20, 2024
2 parents 2740371 + 099ab0e commit b2bdecd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions plugins/algolia-search/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ function algoliaSearchScriptCall() {
?>
<script type="text/javascript">
docsearch({
// apiKey:"<?php echo ALGOLIA_API_KEY; ?>",
// appId: "<?php echo ALGOLIA_APP_ID;?>",
apiKey:"test",
appId: "testID",
apiKey:"<?php echo ALGOLIA_API_KEY; ?>",
appId: "<?php echo ALGOLIA_APP_ID;?>",
indexName: 'loginradius',
inputSelector: '#algoliasearch',
debug: false,
Expand Down
4 changes: 2 additions & 2 deletions plugins/js-search/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function lrHelpSearchScript() {
var sh_commonOptions = {
templateId: 'jssearchintercominterface',
algoliaSetting: {
apiKey: getenv('ALGOLIA_API_KEY'),
appId: getenv('ALGOLIA_APP_ID'),
apiKey:"<?php echo ALGOLIA_API_KEY; ?>",
appId: "<?php echo ALGOLIA_APP_ID;?>",
indexName: 'loginradius',
inputSelector: '#algoliasearchhelp',
autocompleteOptions: {
Expand Down

0 comments on commit b2bdecd

Please sign in to comment.