react-autoql 3.4.5 → 3.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autoql.esm.css +2514 -2514
- package/dist/autoql.esm.js +6 -1
- package/package.json +1 -1
package/dist/autoql.esm.js
CHANGED
|
@@ -2715,7 +2715,12 @@ var runQueryOnly = function runQueryOnly() {
|
|
|
2715
2715
|
source = _ref4.source,
|
|
2716
2716
|
AutoAEId = _ref4.AutoAEId;
|
|
2717
2717
|
|
|
2718
|
-
var url
|
|
2718
|
+
var url; // if(window.location.href.includes('localhost') || window.location.href.includes('chata-ai-test-page')) {
|
|
2719
|
+
// url = `${domain}/autoql/api/v2/query?key=${apiKey}`
|
|
2720
|
+
// } else {
|
|
2721
|
+
|
|
2722
|
+
url = "".concat(domain, "/autoql/api/v1/query?key=").concat(apiKey); // }
|
|
2723
|
+
|
|
2719
2724
|
var finalUserSelection = transformUserSelection(userSelection);
|
|
2720
2725
|
var data = {
|
|
2721
2726
|
text: query,
|