Pickup TLD from ENV for default domain, or fallback to manually-specified value.
This commit is contained in:
parent
d270bf8f69
commit
6da7d98163
@ -10,7 +10,7 @@ Locomotive.configure do |config|
|
|||||||
# during the installation wizzard.
|
# during the installation wizzard.
|
||||||
# Ex:
|
# Ex:
|
||||||
# config.default_domain = Rails.env.production? ? 'heroku.com' : 'example.com'
|
# config.default_domain = Rails.env.production? ? 'heroku.com' : 'example.com'
|
||||||
config.default_domain = 'example.com'
|
config.default_domain = ENV["APP_TLD"] || 'example.com'
|
||||||
|
|
||||||
# configure how many items we display in sub menu in the "Contents" section.
|
# configure how many items we display in sub menu in the "Contents" section.
|
||||||
config.lastest_items_nb = 5
|
config.lastest_items_nb = 5
|
||||||
|
Loading…
Reference in New Issue
Block a user