OverZealous / cdnizer

Node module for replacing local links with CDN links, includes fallbacks and customization
MIT License
52 stars 24 forks source link

// href/src shouldn't change #1

Closed davidpelaez closed 10 years ago

davidpelaez commented 10 years ago

Basically setting src or href indicates another domain, hence it's very unlikely to not be already CDNized if possible. My app is broken because I have links to CDN ready files and all of them have in common // in the beginning of the URL. I arrived to this through Gulp CDNizer and couldn't really use it because of this issue.

OverZealous commented 10 years ago

It's unclear what your issue is here.

CDNizer only replaces URLs you ask it to, it doesn't blindly replace any URLs, which is a big reason I wrote it over the existing CDN tools.

davidpelaez commented 10 years ago

OK, I understand. I wanted the opposite and used very general settings and thought it was a bug. But I see it's not, thanks for replying with the clarification!