Skip to content

Commit 464fd77

Browse files
committed
chore(docs): use correct script-URL for plnkr on snapshot
Fixes angular#15437
1 parent 9399d68 commit 464fd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config/services/deployments/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var cdnUrl = googleCdnUrl + versionInfo.cdnVersion;
1313
// The currentVersion may not be available on the cdn (e.g. if built locally, or hasn't been pushed
1414
// yet). This will lead to a 404, but this is preferable to loading a version with which the example
1515
// might not work (possibly in subtle ways).
16-
var examplesCdnUrl = versionInfo.isSnapshot ?
16+
var examplesCdnUrl = versionInfo.currentVersion.isSnapshot ?
1717
(angularCodeUrl + 'snapshot') :
1818
(googleCdnUrl + (versionInfo.version || versionInfo.currentVersion));
1919

0 commit comments

Comments
 (0)