functional first commit
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
2025-09-13 18:53:43 +01:00
parent 8a14419628
commit 7bd5436ba4
12 changed files with 71 additions and 23 deletions

View File

@ -6,6 +6,21 @@ Rails.application.configure do
# Code is not reloaded between requests.
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)
}
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.