Render build

This commit is contained in:
Ryan W
2022-09-10 15:55:16 -07:00
parent a8a27e5f01
commit d29cf694a1
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ Rails.application.configure do
# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? || ENV['RENDER'].present?
# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass