summaryrefslogtreecommitdiff
path: root/provider_base/files
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base/files')
-rw-r--r--provider_base/files/service-definitions/provider.json.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/provider_base/files/service-definitions/provider.json.erb b/provider_base/files/service-definitions/provider.json.erb
index 8dbf7365..5d4c63a0 100644
--- a/provider_base/files/service-definitions/provider.json.erb
+++ b/provider_base/files/service-definitions/provider.json.erb
@@ -1,12 +1,9 @@
<%=
- hsh = {}
-
# grab some fields from provider.json
hsh = global.provider.pick(
:languages, :description, :name,
:enrollment_policy, :default_language, :service
)
-
hsh['domain'] = domain.full_suffix
# advertise services that are 'user services' and for which there are actually nodes
@@ -20,5 +17,5 @@
hsh['ca_cert_uri'] = 'https://' + domain.full_suffix + '/ca.crt'
hsh['ca_cert_fingerprint'] = fingerprint(:ca_cert)
- JSON.sorted_generate hsh
+ hsh.dump_json
%> \ No newline at end of file