Don't put the current hostname in external avatar URL

This commit is contained in:
Matt Palmer 2015-10-02 17:28:49 +10:00
parent af4a48a67c
commit ab2e9a0beb

View File

@ -593,7 +593,7 @@ files:
client: true
shadowed_by_global: true
external_system_avatars_url:
default: "//{hostname}/letter_avatar_proxy/v2/letter/{first_letter}/{color}/{size}.png"
default: "/letter_avatar_proxy/v2/letter/{first_letter}/{color}/{size}.png"
client: true
regex: '^((https?:)?\/)?\/.+[^\/]'
default_opengraph_image_url: ''