lib/odania/config/global_config.rb in odania-0.0.38 vs lib/odania/config/global_config.rb in odania-0.0.39
- old
+ new
@@ -69,10 +69,11 @@
config = self.dump
puts JSON.pretty_generate config if $debug
Odania.plugin.set_global_config config
generate_subdomain_configs config
+ write_valid_domain_config
config
end
# Generate a config per subdomain
@@ -86,9 +87,10 @@
end
end
end
def write_valid_domain_config
+ $logger.info 'Writing valid domain config'
config = {
valid_domains: @valid_domains,
default_domains: @default_domains
}
Odania.plugin.set_valid_domain_config config