summaryrefslogtreecommitdiff
path: root/provider_base/files/service-definitions/provider.json.erb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-05-20 13:48:23 -0700
committerelijah <elijah@riseup.net>2014-05-20 14:10:28 -0700
commit3919bf8ebb78c07c6c3e067ab2f87f933df8c126 (patch)
tree2d0727b22e7ccce42ec230f5b53b038e1730cb6d /provider_base/files/service-definitions/provider.json.erb
parent1ea643b6741f41bfd90969d91f384060df98c8ae (diff)
add support for webapp on subdomain
Diffstat (limited to 'provider_base/files/service-definitions/provider.json.erb')
-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 3e055e9a..be8ae484 100644
--- a/provider_base/files/service-definitions/provider.json.erb
+++ b/provider_base/files/service-definitions/provider.json.erb
@@ -14,7 +14,7 @@
hsh['api_version'] = "1"
hsh['api_uri'] = ["https://", api.domain, ':', api.port].join
- hsh['ca_cert_uri'] = 'https://' + domain.full_suffix + '/ca.crt'
+ hsh['ca_cert_uri'] = 'https://' + webapp.domain + '/ca.crt'
hsh['ca_cert_fingerprint'] = fingerprint(:ca_cert)
hsh.dump_json