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.
- package/package.json +1 -1
- package/src/Asset.js +1 -1
package/package.json
CHANGED
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(`${
|
|
169
|
+
getModule.get(`${assetUrl}/${assetId}`, (res) => {
|
|
170
170
|
if (res.statusCode !== 200) {
|
|
171
171
|
reject('Bad response when downloading asset');
|
|
172
172
|
} else {
|