File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/config/services/deployments Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ var cdnUrl = googleCdnUrl + versionInfo.cdnVersion;
13
13
// The currentVersion may not be available on the cdn (e.g. if built locally, or hasn't been pushed
14
14
// yet). This will lead to a 404, but this is preferable to loading a version with which the example
15
15
// might not work (possibly in subtle ways).
16
- var examplesCdnUrl = versionInfo . isSnapshot ?
16
+ var examplesCdnUrl = versionInfo . currentVersion . isSnapshot ?
17
17
( angularCodeUrl + 'snapshot' ) :
18
- ( googleCdnUrl + ( versionInfo . version || versionInfo . currentVersion ) ) ;
18
+ ( googleCdnUrl + ( versionInfo . currentVersion . version || versionInfo . currentVersion ) ) ;
19
19
20
20
module . exports = function productionDeployment ( getVersion ) {
21
21
return {
You can’t perform that action at this time.
0 commit comments