lib/template/wsserver.rb in browser_app_base-0.1.3 vs lib/template/wsserver.rb in browser_app_base-0.1.4

- old
+ new

@@ -3,10 +3,10 @@ require "cgi" require "thread" def config_json_hash(json) config = {} - json.each do |j| + json["setting_list"].each do |j| config[j["name"]] = j["value"] end return config end