Skip to content

Commit 1e6bc9d

Browse files
committed
[fix][xs] - Fix url path.
1 parent f663e1a commit 1e6bc9d

File tree

1 file changed

+3
-3
lines changed
  • ckanext/dataexplorer/public/vendor/recline

1 file changed

+3
-3
lines changed

ckanext/dataexplorer/public/vendor/recline/recline.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4814,9 +4814,9 @@ this.recline.View = this.recline.View || {};
48144814
},
48154815
extractFile: function (self, sql_query) {
48164816
var base_path = self.model.attributes.endpoint || self.options.site_url;
4817-
console.log(base_path);
4818-
// var endpoint = `${base_path}/3/action/datastore_search_sql?sql=${sql_query}`; // USE BASE_PATH IN PRODUCTION
4819-
var endpoint = `https://ckan.nhs.staging.datopian.com/api/3/action/datastore_search_sql?sql=${sql_query}`;
4817+
//console.log(base_path);
4818+
var endpoint = `${base_path}/3/action/datastore_search_sql?sql=${sql_query}`; // USE BASE_PATH IN PRODUCTION
4819+
//var endpoint = `https://ckan.nhs.staging.datopian.com/api/3/action/datastore_search_sql?sql=${sql_query}`;
48204820
self.progress();
48214821

48224822
fetch(endpoint)

0 commit comments

Comments
 (0)