glitch-javascript-sdk 0.2.2 → 0.2.3

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/esm/index.js CHANGED
@@ -29846,6 +29846,8 @@ var Requests = /** @class */ (function () {
29846
29846
  if (fileData) {
29847
29847
  headers['Content-Type'] = 'multipart/form-data';
29848
29848
  }
29849
+ //Remove double slashes
29850
+ url = url.replace(/\/\//g, '/');
29849
29851
  var uri = "".concat(this.baseUrl).concat(url);
29850
29852
  var axiosPromise = axios({
29851
29853
  method: method,