We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b1c2d9 commit d362ea1Copy full SHA for d362ea1
docs/config/services/deployments/production.js
@@ -13,9 +13,9 @@ var cdnUrl = googleCdnUrl + versionInfo.cdnVersion;
13
// The currentVersion may not be available on the cdn (e.g. if built locally, or hasn't been pushed
14
// yet). This will lead to a 404, but this is preferable to loading a version with which the example
15
// might not work (possibly in subtle ways).
16
-var examplesCdnUrl = versionInfo.isSnapshot ?
+var examplesCdnUrl = versionInfo.currentVersion.isSnapshot ?
17
(angularCodeUrl + 'snapshot') :
18
- (googleCdnUrl + (versionInfo.version || versionInfo.currentVersion));
+ (googleCdnUrl + (versionInfo.currentVersion.version || versionInfo.currentVersion));
19
20
module.exports = function productionDeployment(getVersion) {
21
return {
0 commit comments