mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Enables cross-origin Web Workers (#35483)
This commit is contained in:
parent
a6794c066d
commit
7f9ad7eabf
5 changed files with 44 additions and 6 deletions
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue