Images from external source in CustomUI

On the CustomUI module, I’d like to display from a source like

<img src="https://logo.clearbit.com/spotify.com?size=80">

Adding the CSP images logo.clearbit.com does not seem to work and results in a CSP violation. What should I be adding as the CSP in the manifest file for this to work?

Thanks.

I think you should add logo.clearbit.com to permissions/external/images section of manifest.yml.

permissions:
  external:
    images:
      - https://log.clearbit.com

I have tried that but doesn’t work. Note that it does work if I include the full url.

https://logo.clearbit.com/spotify.com

However, the logo should be dynamic. ie. spotify.com can be somethingelse.com