fanforce-app-factory 2.0.0.rc30 → 2.0.0.rc31
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,9 +5,11 @@ class Fanforce::App::Sinatra
|
|
5
5
|
config = MultiJson.load(file.read, symbolize_keys: true)
|
6
6
|
config[:iron_workers] ||= []
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
if params[:include_iron_credentials].to_i > 0
|
9
|
+
config[:iron_workers].each do |iron_worker|
|
10
|
+
iron_worker[:project_id] = ENV['IRON_PROJECT_ID']
|
11
|
+
iron_worker[:token] = ENV['IRON_TOKEN']
|
12
|
+
end
|
11
13
|
end
|
12
14
|
|
13
15
|
config.to_json
|