aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/production.rb
diff options
context:
space:
mode:
authorFlorent Peyraud2017-12-17 15:44:22 +0100
committerFlorent Peyraud2017-12-17 15:44:22 +0100
commit6ad5065b352ab0b753268d23dcf4ae1d7a33b70c (patch)
treec706c430fde72b08faeb14e904108ba3f2dca584 /config/environments/production.rb
parentbbf39fed49933feac8f6cede7ada96bd4da5d662 (diff)
downloadchouette-core-6ad5065b352ab0b753268d23dcf4ae1d7a33b70c.tar.bz2
fix bug in JSON parsing
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r--config/environments/production.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 5dcffd9e6..828d3b29c 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -106,12 +106,12 @@ Rails.application.configure do
"type": "cas",
"cas_server": "https://portail.stif.info/sessions",
"cas_validate_url": "http://portail.stif.info/sessions/proxyValidate"
- }',{symbolize_names: true}))
+ }'),{symbolize_names: true})
config.stif_portail_api = JSON.parse(ENV.fetch('SESAME_API_SETTINGS','{
"key": "xxxxxxxxxxx",
"url": "http://portail.stif.info"
- }',{symbolize_names: true}))
+ }'),{symbolize_names: true})
# file to data for demo
# config.demo_data = "/path/to/demo.zip"