@ -9,18 +9,18 @@ Rails.application.configure do
|
|||||||
config.cache_classes = false
|
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[:host] = ENV.fetch("APP_HOST", "0.0.0.0")
|
||||||
Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)
|
#Rails.application.routes.default_url_options[:port] = ENV.fetch("APP_PORT", 3000)
|
||||||
|
|
||||||
# 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", "beere5"),
|
# host: ENV.fetch("APP_HOST", "beere5"),
|
||||||
port: ENV.fetch("APP_PORT", 3000)
|
# port: ENV.fetch("APP_PORT", 3000)
|
||||||
}
|
#}
|
||||||
|
|
||||||
# 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", "wedding.linepe.de"),
|
host: ENV.fetch("APP_HOST", "wedding.linepe.de"),
|
||||||
port: ENV.fetch("APP_PORT", 3000)
|
#port: ENV.fetch("APP_PORT", 3000)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Do not eager load code on boot.
|
# Do not eager load code on boot.
|
||||||
|
Reference in New Issue
Block a user