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 CHANGED
@@ -15625,10 +15625,10 @@ var Requests = /** @class */ (function () {
15625
15625
  headers['Content-Type'] = 'multipart/form-data';
15626
15626
  }
15627
15627
  var uri = "".concat(this.baseUrl).concat(url);
15628
- var validUri = uri.replace(/\/\//g, '/');
15629
15628
  var axiosPromise = axios({
15630
15629
  method: method,
15631
- url: validUri,
15630
+ url: uri,
15631
+ baseURL: this.baseUrl,
15632
15632
  data: fileData || data,
15633
15633
  headers: headers,
15634
15634
  });