diff options
author | elijah <elijah@riseup.net> | 2014-05-30 14:52:26 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-06-02 12:03:01 -0700 |
commit | 4e3d168d103fea6476694997275c4df4821535f3 (patch) | |
tree | 34ffa9b55ceaecf776074f3cae042efe9af845ad /provider_base/services/static.json | |
parent | 55327fd72621e5c678e5f9ba923bc348ca840463 (diff) |
static site: added rack support, added custom apache config
Diffstat (limited to 'provider_base/services/static.json')
-rw-r--r-- | provider_base/services/static.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/services/static.json b/provider_base/services/static.json index 3bbc1240..c8ca5b1a 100644 --- a/provider_base/services/static.json +++ b/provider_base/services/static.json @@ -1,6 +1,6 @@ { "static": { - "formats": "=> (self.static.domains||{}).values.collect{|d| (d.locations||{}).values.collect{|l|l['format']}}.flatten.uniq", + "formats": "=> try{static.domains.values.collect{|d| try{d.locations.values.collect{|l|l.format}} }.flatten.compact.uniq} || []", // include a copy of provider.json in case any of the configured domains happens to match provider.domain "bootstrap_files": { "domain": "= provider.domain", |