glitch-javascript-sdk 0.2.0 → 0.2.1
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/util/Requests.ts +2 -1
package/dist/esm/index.js
CHANGED
|
@@ -29847,10 +29847,10 @@ var Requests = /** @class */ (function () {
|
|
|
29847
29847
|
headers['Content-Type'] = 'multipart/form-data';
|
|
29848
29848
|
}
|
|
29849
29849
|
var uri = "".concat(this.baseUrl).concat(url);
|
|
29850
|
-
var validUri = uri.replace(/\/\//g, '/');
|
|
29851
29850
|
var axiosPromise = axios({
|
|
29852
29851
|
method: method,
|
|
29853
|
-
url:
|
|
29852
|
+
url: uri,
|
|
29853
|
+
baseURL: this.baseUrl,
|
|
29854
29854
|
data: fileData || data,
|
|
29855
29855
|
headers: headers,
|
|
29856
29856
|
});
|