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/cjs/index.js
CHANGED
|
@@ -18662,7 +18662,7 @@ var Requests = /** @class */ (function () {
|
|
|
18662
18662
|
}
|
|
18663
18663
|
// Format URL
|
|
18664
18664
|
url = url.replace(/\/\//g, '/');
|
|
18665
|
-
var uri = "".concat(
|
|
18665
|
+
var uri = "".concat(url).replace(/\/\//g, '/');
|
|
18666
18666
|
// Make the request
|
|
18667
18667
|
return axios$1({
|
|
18668
18668
|
method: 'POST',
|
|
@@ -18707,7 +18707,7 @@ var Requests = /** @class */ (function () {
|
|
|
18707
18707
|
formData.append(key, data[key]);
|
|
18708
18708
|
}
|
|
18709
18709
|
}
|
|
18710
|
-
fullUploadUrl = "".concat(
|
|
18710
|
+
fullUploadUrl = "".concat(uploadUrl);
|
|
18711
18711
|
headers = {};
|
|
18712
18712
|
if (Requests.authToken) {
|
|
18713
18713
|
headers['Authorization'] = "Bearer ".concat(Requests.authToken);
|