Skip to content

Commit 1645a98

Browse files
committed
change to production ebi service for smiles2ctab. Trim cookie name
before checking in app route
1 parent c7a6102 commit 1645a98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/assets/javascripts/routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ App.ApplicationRoute = Ember.Route.extend({
8787
var ca = document.cookie.split(';');
8888
ca.forEach(function(cookie, index, cookies) {
8989
var cookieData = cookie.split('=');
90-
if (cookieData[0] === "explorerCookieAcceptance") {
90+
if (cookieData[0].trim() === "explorerCookieAcceptance") {
9191
controller.set('cookieAcceptance', true);
9292
}
9393
});

public/ketcher/ui/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
1010
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1111
***************************************************************************/
12-
var ebi_smiles_to_ctab_url = "https://wwwdev.ebi.ac.uk/chembl/api/utils/smiles2ctab";
12+
var ebi_smiles_to_ctab_url = "https://www.ebi.ac.uk/chembl/api/utils/smiles2ctab";
1313
if (typeof(ui) == 'undefined')
1414
ui = function () {};
1515

0 commit comments

Comments
 (0)