Simple CDN gives you HTTP(S) links to your CDN Servers. It cares about down servers
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
README.md
package.json

README.md

simple-cdn

Simple CDN gives you HTTP(S) links to your CDN Servers. It cares about down servers.

var simple = new SimpleCDN();
simple.addServer("http://dsakdlöasjdlkasdsjak.com");
simple.addServer("http://google.com", 301);
simple.addServer("http://house-of-code.org");
setInterval(function () {
    console.log(simple.getFullURL("test.jpg"));
}, 1000);