diff --git a/docs/config/services/deployments/production.js b/docs/config/services/deployments/production.js index 7a8cace0d53e..a37c127df593 100644 --- a/docs/config/services/deployments/production.js +++ b/docs/config/services/deployments/production.js @@ -15,7 +15,7 @@ var cdnUrl = googleCdnUrl + versionInfo.cdnVersion; // docs.angularjs.org and code.angularjs.org need them. var versionPath = versionInfo.currentVersion.isSnapshot ? 'snapshot' : - (versionInfo.currentVersion.version || versionInfo.currentVersion.version); + versionInfo.currentVersion.version; var examplesDependencyPath = angularCodeUrl + versionPath + '/'; module.exports = function productionDeployment(getVersion) {