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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glitch-javascript-sdk",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Javascript SDK for Glitch",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -231,7 +231,7 @@ class Requests {
231
231
 
232
232
  // Format URL
233
233
  url = url.replace(/\/\//g, '/');
234
- const uri = `${Requests.baseUrl}${url}`.replace(/\/\//g, '/');
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 = `${Requests.baseUrl}${uploadUrl}`;
289
+ const fullUploadUrl = `${uploadUrl}`;
290
290
 
291
291
  // Make sure the authorization token is included if required
292
292
  const headers: { [key: string]: string } = {};