2
0

Enables cross-origin Web Workers (#35483)

This commit is contained in:
Echo
2025-07-24 09:14:27 +02:00
committed by GitHub
parent a6794c066d
commit 7f9ad7eabf
5 changed files with 44 additions and 6 deletions

View File

@@ -19,6 +19,9 @@ Rails.application.configure do
# Enable server timing.
config.server_timing = true
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
config.asset_host = ENV['CDN_HOST'] if ENV['CDN_HOST'].present?
# Enable/disable caching. By default caching is disabled.
# Run rails dev:cache to toggle caching.
if Rails.root.join('tmp', 'caching-dev.txt').exist?