Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit 8885694

Browse files
committed
fix(): always fall back to prod image generator service
1 parent befb9d0 commit 8885694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/manifestTools/manifestLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function generateImagesForManifest(image, manifest, options, callback) {
220220
}
221221
};
222222

223-
var imgGenerationSvc = options.generationSvcUrl || constants.IMG_GEN_SVC_URL;
223+
var imgGenerationSvc = constants.IMG_GEN_SVC_URL || 'https://appimagegenerator-prod.azurewebsites.net';
224224
log.debug('Generating images from app image generation service: ' + imgGenerationSvc);
225225
return Q.nfcall(request.post, { url: _url.resolve(imgGenerationSvc, constants.IMG_GEN_SVC_API), formData: formData })
226226
.then(function(response) {

0 commit comments

Comments
 (0)