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/package.json
CHANGED
package/src/util/Requests.ts
CHANGED
|
@@ -231,7 +231,7 @@ class Requests {
|
|
|
231
231
|
|
|
232
232
|
// Format URL
|
|
233
233
|
url = url.replace(/\/\//g, '/');
|
|
234
|
-
const uri = `${
|
|
234
|
+
const uri = `${url}`.replace(/\/\//g, '/');
|
|
235
235
|
|
|
236
236
|
// Make the request
|
|
237
237
|
return axios({
|
|
@@ -286,7 +286,7 @@ class Requests {
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
// Construct the full URL if necessary or use a method to determine the base URL
|
|
289
|
-
const fullUploadUrl = `${
|
|
289
|
+
const fullUploadUrl = `${uploadUrl}`;
|
|
290
290
|
|
|
291
291
|
// Make sure the authorization token is included if required
|
|
292
292
|
const headers: { [key: string]: string } = {};
|