ascorbic / unpic

Universal image CDN translator
https://unpic.pics/lib
291 stars 34 forks source link

fix(cloudflare): use optional regex for transformation group #60

Closed davedbase closed 11 months ago

davedbase commented 1 year ago

Admittedly I'm not sure if there are consequences to this but I recently attempted using an image without any starting transforms ie. https://cdn.romamoulding.com/cdn-cgi/image//https://cdn.romamoulding.com/mouldings/753-1.png.

If this is being used incorrectly, feel free to reject the PR and let me know :)