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/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/util/Requests.ts +3 -0
package/dist/cjs/index.js
CHANGED
|
@@ -15624,6 +15624,8 @@ var Requests = /** @class */ (function () {
|
|
|
15624
15624
|
if (fileData) {
|
|
15625
15625
|
headers['Content-Type'] = 'multipart/form-data';
|
|
15626
15626
|
}
|
|
15627
|
+
//Remove double slashes
|
|
15628
|
+
url = url.replace(/\/\//g, '/');
|
|
15627
15629
|
var uri = "".concat(this.baseUrl).concat(url);
|
|
15628
15630
|
var axiosPromise = axios({
|
|
15629
15631
|
method: method,
|