adobe / helix-static

Static File Serving for Project Helix
Apache License 2.0
3 stars 6 forks source link

serve lottie-player.js from helix-static #227

Open MarquiseRosier opened 4 years ago

MarquiseRosier commented 4 years ago

Currently for helix-embed support for lottiefiles depends on the code for the lottie-player being requested and included in js; this is done for instance in

https://github.com/adobe/helix-embed/pull/165

It would be nice if this could be served via helix-static.

trieloff commented 4 years ago

We may end up with a number of files that we need to serve through helix-static, so it could make sense to have a whitelist for https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js and similar URLs.