@ -11,10 +11,10 @@ Rails.application.configure do
|
|||||||
|
|
||||||
|
|
||||||
# Force Rails to generate URLs with your hostname instead of localhost
|
# Force Rails to generate URLs with your hostname instead of localhost
|
||||||
Rails.application.routes.default_url_options = {
|
#Rails.application.routes.default_url_options = {
|
||||||
host: ENV.fetch("APP_HOST", ENV['CANONICAL_HOST'],
|
# host: ENV.fetch("APP_HOST", ENV['CANONICAL_HOST'],
|
||||||
port: ENV.fetch("APP_PORT", 3000)
|
# port: ENV.fetch("APP_PORT", 3000)
|
||||||
}
|
#}
|
||||||
|
|
||||||
# Eager load code on boot. This eager loads most of Rails and
|
# Eager load code on boot. This eager loads most of Rails and
|
||||||
# your application in memory, allowing both threaded web servers
|
# your application in memory, allowing both threaded web servers
|
||||||
|
Reference in New Issue
Block a user