summaryrefslogtreecommitdiff
path: root/provider_base/files
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-03-16 23:15:14 -0700
committerelijah <elijah@riseup.net>2013-03-16 23:15:14 -0700
commit4ec32a1f773918b2c7a42c117fbad110c07df458 (patch)
treef41cadb572aeb955ba798739d08772a1f047b317 /provider_base/files
parent8c91365ca62d6f7e970f7a1fbda7be82a1fc83c3 (diff)
the development tag now specifies an alternative provider domain. this requires that we use domain.full_suffix instead of provider.domain, whenever possible.
Diffstat (limited to 'provider_base/files')
-rw-r--r--provider_base/files/service-definitions/provider.json.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/files/service-definitions/provider.json.erb b/provider_base/files/service-definitions/provider.json.erb
index f26f25a2..2ca34548 100644
--- a/provider_base/files/service-definitions/provider.json.erb
+++ b/provider_base/files/service-definitions/provider.json.erb
@@ -13,7 +13,7 @@
hsh['api_version'] = "1"
hsh['api_uri'] = "https://" + api.domain + ':' + api.port
- hsh['ca_cert_uri'] = 'https://' + global.provider.domain + '/ca.crt'
+ hsh['ca_cert_uri'] = 'https://' + domain.full_suffix + '/ca.crt'
hsh['ca_cert_fingerprint'] = fingerprint(:ca_cert)
generate_json hsh