summaryrefslogtreecommitdiff
path: root/provider_base/files
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-05-17 11:53:10 -0700
committerelijah <elijah@riseup.net>2013-05-17 11:53:10 -0700
commitf82d5b5c7004b01565bbeace598d1716f72c1b2f (patch)
tree7bf26fa0de51a592f8da6ef16395afcd6c813e39 /provider_base/files
parent0f6d2ebd6467d1c793d1907d677ca374a1efe477 (diff)
minor - webapp api port should be integer, not string.
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 bc93fac5..d17aae96 100644
--- a/provider_base/files/service-definitions/provider.json.erb
+++ b/provider_base/files/service-definitions/provider.json.erb
@@ -13,7 +13,7 @@
hsh['services'] = global.services[:service_type => :user_service].field(:name)
hsh['api_version'] = "1"
- hsh['api_uri'] = "https://" + api.domain + ':' + api.port
+ hsh['api_uri'] = ["https://", api.domain, ':', api.port].join
hsh['ca_cert_uri'] = 'https://' + domain.full_suffix + '/ca.crt'
hsh['ca_cert_fingerprint'] = fingerprint(:ca_cert)