Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c625b0d

Browse files
committed
chore(docs): use correct script-URL for plnkr on snapshot
Fixes #15437 Closes #15438
1 parent 04cbe1e commit c625b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/config/services/deployments/production.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ 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') :
18-
(googleCdnUrl + (versionInfo.version || versionInfo.currentVersion));
18+
(googleCdnUrl + (versionInfo.currentVersion.version || versionInfo.currentVersion));
1919

2020
module.exports = function productionDeployment(getVersion) {
2121
return {

0 commit comments

Comments
 (0)