squishjs 1.3.1 → 1.3.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Asset.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squishjs",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "squish & unsquish stuff",
5
5
  "scripts": {
6
6
  "test": "node testRunner.js"
package/src/Asset.js CHANGED
@@ -166,7 +166,7 @@ class Asset {
166
166
  const apiUrl = this.getConfigValue('API_URL', null);
167
167
  const assetUrl = apiUrl ? `${apiUrl}/assets` : 'https://assets.homegames.io';
168
168
 
169
- getModule.get(`${ASSET_URL}/${assetId}`, (res) => {
169
+ getModule.get(`${assetUrl}/${assetId}`, (res) => {
170
170
  if (res.statusCode !== 200) {
171
171
  reject('Bad response when downloading asset');
172
172
  } else {