@bagelink/vue 0.0.407 → 0.0.409
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4720,9 +4720,9 @@ class Bagel {
|
|
|
4720
4720
|
__publicField(this, "onError");
|
|
4721
4721
|
__publicField(this, "read_table", null);
|
|
4722
4722
|
__publicField(this, "auth", new BagelAuth(this));
|
|
4723
|
+
this.host = host == null ? void 0 : host.replace(/\/$/, "");
|
|
4723
4724
|
if (!this.host)
|
|
4724
4725
|
throw new Error("you probably need to set VITE_BAGEL_BASE_URL in the .env file");
|
|
4725
|
-
this.host = host.replace(/\/$/, "");
|
|
4726
4726
|
axios.defaults.baseURL = this.host;
|
|
4727
4727
|
this.onError = onError;
|
|
4728
4728
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -4718,9 +4718,9 @@ class Bagel {
|
|
|
4718
4718
|
__publicField(this, "onError");
|
|
4719
4719
|
__publicField(this, "read_table", null);
|
|
4720
4720
|
__publicField(this, "auth", new BagelAuth(this));
|
|
4721
|
+
this.host = host == null ? void 0 : host.replace(/\/$/, "");
|
|
4721
4722
|
if (!this.host)
|
|
4722
4723
|
throw new Error("you probably need to set VITE_BAGEL_BASE_URL in the .env file");
|
|
4723
|
-
this.host = host.replace(/\/$/, "");
|
|
4724
4724
|
axios.defaults.baseURL = this.host;
|
|
4725
4725
|
this.onError = onError;
|
|
4726
4726
|
}
|