We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b721d1b commit b77c0b1Copy full SHA for b77c0b1
app/routes/project-version.js
@@ -57,7 +57,7 @@ export default Route.extend({
57
this.set('headData.urlVersion', projectVersion);
58
if (!this.get('headData.isRelease')) {
59
let request = this.get('fastboot.request');
60
- let href = this.get('fastboot.isFastBoot') ? `${request.protocol}//api.emberjs.com/${request.path}` : window.location.href;
+ let href = this.get('fastboot.isFastBoot') ? `https://api.emberjs.com/${request.path}` : window.location.href;
61
let version = new RegExp(model.get('compactVersion'), 'g')
62
let canonicalUrl = href.replace(version, 'release');
63
this.set('headData.canonicalUrl', canonicalUrl);
0 commit comments