summaryrefslogtreecommitdiff
path: root/provider_base/services/static.json
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base/services/static.json')
-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",