fixed conflict/

This commit is contained in:
Nweni
2019-11-15 13:54:28 +06:30
44 changed files with 933 additions and 400 deletions

View File

@@ -1,6 +1,8 @@
if File.exist?("config/license.yml")
if File.exist?("config/license.yml")
config = YAML.load_file(Rails.root.join("config/license.yml"))
config.fetch(Rails.env, {}).each do |key, value|
ENV[key.upcase] = value.to_s
end
end
else
ENV["SERVER_MODE"] = "cloud"
end