Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing links and removing unused api keys #183

Merged
merged 2 commits into from
Dec 12, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removing commented code that include API keys
  • Loading branch information
fdallaireCoveo committed Dec 12, 2018
commit 6fa750536c7066a621cef7a9f9a1fcc981fac34b
11 changes: 0 additions & 11 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,6 @@ var searchToken = 'xx15d10ab2-cb6c-4c13-addb-aa871471c00e';
var hostname = window.location.hostname; //To manage dev/staging/prod environment
var TechDocSearchPage = 'https://support.coveo.com/s/search/All/Home/%40uri';

/*if (hostname == "onlinehelp.coveo.com") {
// Use the production org (coveosearch)
searchToken = '7b9b9300-3901-437b-bafd-51ae596f1b16';
uaToken = searchToken;
} else {
// Use the staging org (coveosupport) for UA
uaToken = '25b8fab8-089b-4325-8d0f-d3145dd282ec';
// Use the production org (coveosearch) for search
searchToken = '7b9b9300-3901-437b-bafd-51ae596f1b16';
}*/

$(function(){
Coveo.SearchEndpoint.endpoints["default"] = new Coveo.SearchEndpoint({
restUri: 'https://platform.cloud.coveo.com/rest/search',
Expand Down