Skip to content

Commit

Permalink
Fixing links and removing unused api keys (coveo#183)
Browse files Browse the repository at this point in the history
* Fixing developers.coveo.com Documentation link

* Removing commented code that include API keys
  • Loading branch information
fdallaireCoveo authored Dec 12, 2018
1 parent e007d1e commit 731e5cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ <h1 class="currentSiteName"><em>Tech Blog</em> <span>Menu<i class="arrow"></i></
<nav>
<a href="{{ site.inc.url }}">{{ site.inc.company }}</a> &middot;
<a href="https://answers.coveo.com">Answers</a>
<a href="https://developers.coveo.com">Documentation</a>
<a href="https://docs.coveo.com">Documentation</a>
</nav>

<nav class="social">
Expand Down
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

0 comments on commit 731e5cf

Please sign in to comment.