This commit is contained in:
@ -8,6 +8,20 @@ Rails.application.configure do
|
||||
# your test database is "scratch space" for the test suite and is wiped
|
||||
# and recreated between test runs. Don't rely on the data there!
|
||||
config.cache_classes = true
|
||||
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. This avoids loading your whole application
|
||||
# just for the purpose of running a single test. If you are using a tool that
|
||||
|
Reference in New Issue
Block a user