hackatime/config/initializers/inertia_rails.rb
Mahad Kalam 17d9679547
llms.txt/llms-full.txt/.md docs routes, SSR (#977)
* llms.txt/llms-full.txt/.md docs routes, SSR

* Fixes!

* Tests!

* More fixes

* Fix SSR!

* Update bin/docker-entrypoint

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Use Bun for SSR!

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-18 08:34:06 +00:00

10 lines
354 B
Ruby

# frozen_string_literal: true
InertiaRails.configure do |config|
config.version = ViteRuby.digest
config.encrypt_history = Rails.env.production?
config.always_include_errors_hash = true
config.use_script_element_for_initial_page = true
config.use_data_inertia_head_attribute = true
config.ssr_enabled = ViteRuby.config.ssr_build_enabled
end