summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-05-30 14:52:26 -0700
committerelijah <elijah@riseup.net>2014-06-02 12:03:01 -0700
commit4e3d168d103fea6476694997275c4df4821535f3 (patch)
tree34ffa9b55ceaecf776074f3cae042efe9af845ad /provider_base/services
parent55327fd72621e5c678e5f9ba923bc348ca840463 (diff)
static site: added rack support, added custom apache config
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/static.json2
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",