This commit is contained in:
@ -8,6 +8,21 @@ Rails.application.configure do
|
||||
# since you don't have to restart the web server when you make code changes.
|
||||
config.cache_classes = false
|
||||
|
||||
Rails.application.routes.default_url_options[:host] = ENV.fetch("APP_HOST", "0.0.0.0")
|
||||
Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)
|
||||
|
||||
# Force Rails to generate URLs with your hostname instead of localhost
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: ENV.fetch("APP_HOST", "beere5"),
|
||||
port: ENV.fetch("APP_PORT", 3000)
|
||||
}
|
||||
|
||||
# Force Rails to generate URLs with your hostname instead of localhost
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: ENV.fetch("APP_HOST", "wedding.linepe.de"),
|
||||
port: ENV.fetch("APP_PORT", 3000)
|
||||
}
|
||||
|
||||
# Do not eager load code on boot.
|
||||
config.eager_load = false
|
||||
|
||||
@ -64,4 +79,4 @@ Rails.application.configure do
|
||||
config.action_mailer.default_url_options = {
|
||||
host: ENV['CANONICAL_HOST'], port: 3000
|
||||
}
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user