Skip to content

Commit b77c0b1

Browse files
Always use the https protocol
1 parent b721d1b commit b77c0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/project-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default Route.extend({
5757
this.set('headData.urlVersion', projectVersion);
5858
if (!this.get('headData.isRelease')) {
5959
let request = this.get('fastboot.request');
60-
let href = this.get('fastboot.isFastBoot') ? `${request.protocol}//api.emberjs.com/${request.path}` : window.location.href;
60+
let href = this.get('fastboot.isFastBoot') ? `https://api.emberjs.com/${request.path}` : window.location.href;
6161
let version = new RegExp(model.get('compactVersion'), 'g')
6262
let canonicalUrl = href.replace(version, 'release');
6363
this.set('headData.canonicalUrl', canonicalUrl);

0 commit comments

Comments
 (0)