serve static play2.x content from CDN
- by Adam Lane
In development mode I would like to have assets served locally and when deployed in production I would like them served from the CDN. Anyone using play2 and serving content from CDN be willing to share how they are doing it?
// Thinking of something like this in the routes file...
@if(play.Play.isDev()) {
GET /assets/*file …