launch/debug config
All checks were successful
/ Checkout (push) Successful in 1m18s

This commit is contained in:
david 2024-07-22 21:47:06 +02:00
parent effeef97b8
commit 363dfaa7d3
7 changed files with 23 additions and 6 deletions

View file

@ -35,6 +35,7 @@ module A11yist
#
config.time_zone = "Europe/Zurich"
# config.eager_load_paths << Rails.root.join("extras")
config.build_version = (File.read(Rails.root.join(".build_version")) || "-").freeze
build_version_file = Rails.root.join(".build_version")
config.build_version = (File.exist?(build_version_file) && File.read(build_version_file) || "dev").freeze
end
end