Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
SimpleCDN installation
public class MyApplication extends WebApplication
{
@Override
protected void init()
{
super.init();
// Enable CDN when in deployment mode
if(usesDeploymentConfig())
{
new SimpleCDN("//age39p8hg23.cloudfront.net").install(this);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment