bhl-forms 0.0.65 → 0.0.66

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.
@@ -11079,7 +11079,8 @@ function schemaFromUrl(url3) {
11079
11079
  });
11080
11080
  }
11081
11081
  const getBaseDomain = () => {
11082
- var parts = window.location.host.split(".");
11082
+ const host = window.location.host.replace("webflow.io", "com");
11083
+ const parts = host.split(".");
11083
11084
  return parts.slice(-2).join(".");
11084
11085
  };
11085
11086
  const flattenObj = (obj) => {
@@ -15582,6 +15583,7 @@ const _sfc_main = {
15582
15583
  };
15583
15584
  const apps = {};
15584
15585
  const defaultSubmitUrl = "https://webhooks." + getBaseDomain() + "/api/v1/form_leads_ext";
15586
+ dbg("defaultSubmitUrl:", defaultSubmitUrl);
15585
15587
  const init = () => {
15586
15588
  const classes = generateClasses(theme);
15587
15589
  const forms = window.bhlFormDefs || [];