News for hackers. Stuff that matters.
Re:Amazon DNS error by jacobsenscott on Wednesday November 26, 2014 @10:16PM (#8665830)
You can assign a proc to config.asset_host, so you could easily do it -

  config.asset_host = -> {
    cdn_up? ? "http://mycdn.com" : "http://mydomain.com"
  }

There are no comments on this comment yet.