From 981689f05965071274e23e6826a4bf53e0614025 Mon Sep 17 00:00:00 2001 From: Moncef Belyamani Date: Thu, 4 Sep 2014 11:21:35 -0400 Subject: [PATCH] Update OHANA_API_ENDPOINT to point to HTTPS. Now that the API has been updated to use HTTPS by default, the endpoint here needs to be updated. Make sure to update your local application.yml and update your env var on Heroku. --- config/application.example.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/application.example.yml b/config/application.example.yml index cddbc566c..083b53601 100644 --- a/config/application.example.yml +++ b/config/application.example.yml @@ -10,15 +10,15 @@ # Each entry sets a local environment variable and overrides ENV variables # in the Unix shell. For example, setting: -# OHANA_API_ENDPOINT: http://ohana-api-demo.herokuapp.com/api -# makes "http://ohana-api-demo.herokuapp.com/api" available as +# OHANA_API_ENDPOINT: https://ohana-api-demo.herokuapp.com/api +# makes "https://ohana-api-demo.herokuapp.com/api" available as # ENV["OHANA_API_ENDPOINT"] in the app. See config/initializers/ohanapi.rb # for a usage example. # Set this to the URL for your instance of the Ohana API: # https://github.com/codeforamerica/ohana-api # This environment variable is required. -OHANA_API_ENDPOINT: http://ohana-api-demo.herokuapp.com/api +OHANA_API_ENDPOINT: https://ohana-api-demo.herokuapp.com/api # This setting is used for the Google translation feature. # The "DOMAIN_NAME" environment variable should be set to your app's