diff --git a/app/assets/stylesheets/site.scss b/app/assets/stylesheets/site.scss index aebe141..6c8dae4 100644 --- a/app/assets/stylesheets/site.scss +++ b/app/assets/stylesheets/site.scss @@ -7,7 +7,14 @@ body { /* dart-sass has no sprockets `asset-url()` helper (it would pass the function through verbatim and the browser could not resolve it), so the fingerprinted URL is injected from the layout as a custom property. - See app/views/layouts/application.html.erb. */ + See app/views/layouts/application.html.erb. + + Heads-up: since the U3 Tailwind pass, every page view sets a + content_for :body_class with a `!`-suffixed Tailwind background + (bg-gradient-to-b!/bg-none! etc.), which always wins over this + unlayered rule — so this bg.jpg is currently never the visible + backdrop on any page. Kept as the base-layer fallback; verified + pixel-identical before/after the dartsass switch. */ background-image: var(--site-bg-image); background-repeat: repeat; background-attachment: fixed; diff --git a/config/environments/production.rb b/config/environments/production.rb index 1050129..6929ead 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -28,6 +28,10 @@ # Store uploaded files on the local file system (see config/storage.yml for options). config.active_storage.service = :local + # This app has no Active Storage attachments at all; without this, every + # production boot logs a "Generating image variants require the + # image_processing gem" notice. + config.active_storage.variant_processor = :disabled # Assume all access to the app is happening through a SSL-terminating reverse proxy. # Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.