Skip to content

Commit dca6b3d

Browse files
author
reco_luan
committed
fix: optimize https protocol warning
1 parent 766d18b commit dca6b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/FriendLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default {
9393
const { logo, email } = info
9494
if (logo && /^http/.test(logo)) return logo
9595
if (logo && !/^http/.test(logo)) return this.$withBase(logo)
96-
return `http://1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&d=mm&r=x`
96+
return `//1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&d=mm&r=x`
9797
},
9898
_adjustPosition (dom) {
9999
const { offsetWidth } = document.body

0 commit comments

Comments
 (0)