fix: optimize https protocol warning
This commit is contained in:
parent
766d18b8ca
commit
dca6b3d00c
@ -93,7 +93,7 @@ export default {
|
||||
const { logo, email } = info
|
||||
if (logo && /^http/.test(logo)) return logo
|
||||
if (logo && !/^http/.test(logo)) return this.$withBase(logo)
|
||||
return `http://1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&d=mm&r=x`
|
||||
return `//1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&d=mm&r=x`
|
||||
},
|
||||
_adjustPosition (dom) {
|
||||
const { offsetWidth } = document.body
|
||||
|
Loading…
Reference in New Issue
Block a user