bugstash 0.1.6 → 0.1.7

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/index.cjs CHANGED
@@ -532,8 +532,8 @@ async function captureScreenshot() {
532
532
  }
533
533
 
534
534
  // src/api.ts
535
- var PRIMARY_ENDPOINT = "https://api.bugstash.com";
536
- var FALLBACK_ENDPOINT = "https://bugstash-backend.azurewebsites.net";
535
+ var PRIMARY_ENDPOINT = "https://bugstash-backend.azurewebsites.net";
536
+ var FALLBACK_ENDPOINT = "https://api.bugstash.com";
537
537
  var endpoint = PRIMARY_ENDPOINT;
538
538
  var _usingFallback = false;
539
539
  function setEndpoint(url) {
@@ -4529,7 +4529,7 @@ function bindTabContent() {
4529
4529
  if (container2) annotator = setupAnnotation(container2, screenshotData);
4530
4530
  } else {
4531
4531
  if (titleEl) titleEl.textContent = "Screenshot unavailable";
4532
- if (subEl) subEl.textContent = "Install html2canvas package for screenshot support";
4532
+ if (subEl) subEl.textContent = "Could not capture screenshot on this page";
4533
4533
  }
4534
4534
  });
4535
4535
  modal.querySelector("[data-bs-form]")?.addEventListener("submit", async (e) => {