filestack / adaptive

Generate responsive HTML picture elements powered by on-the-fly Filestack image conversions.

Home Page:https://filestack.github.io/adaptive/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

makePictureTree does not support CNAME

davidlima88 opened this issue · comments

export const makePictureTree = (handle?: string, opts?: PictureOptions): Picture => {

I couldn't find a way in the documentation to pass a CNAME value to replace the default URL "https://cdn.filestackcontent.com"

Hi,
I just released a new version in which PictureOptions can get 'cname'.
https://github.com/filestack/adaptive#custom-cname

Thanks, Andrzej. It works perfectly.