glitch-javascript-sdk 1.4.3 → 1.4.4
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 -2
package/dist/esm/index.js
CHANGED
|
@@ -5478,7 +5478,7 @@ var Requests = /** @class */ (function () {
|
|
|
5478
5478
|
}
|
|
5479
5479
|
// Format URL
|
|
5480
5480
|
url = url.replace(/\/\//g, '/');
|
|
5481
|
-
var uri = "".concat(
|
|
5481
|
+
var uri = "".concat(url).replace(/\/\//g, '/');
|
|
5482
5482
|
// Make the request
|
|
5483
5483
|
return axios$1({
|
|
5484
5484
|
method: 'POST',
|
|
@@ -5523,7 +5523,7 @@ var Requests = /** @class */ (function () {
|
|
|
5523
5523
|
formData.append(key, data[key]);
|
|
5524
5524
|
}
|
|
5525
5525
|
}
|
|
5526
|
-
fullUploadUrl = "".concat(
|
|
5526
|
+
fullUploadUrl = "".concat(uploadUrl);
|
|
5527
5527
|
headers = {};
|
|
5528
5528
|
if (Requests.authToken) {
|
|
5529
5529
|
headers['Authorization'] = "Bearer ".concat(Requests.authToken);
|